justinmk / vim-gtfo

Go to Terminal or File manager :point_right:
320 stars 17 forks source link

prefer iTerm if it exists, unless overridden #8

Closed justinmk closed 10 years ago

justinmk commented 10 years ago

If a Mac user has iTerm installed, one might as well assume they prefer it to Terminal.app. So gtfo should default to it, if iTerm is found.

http://stackoverflow.com/questions/6682335/how-can-check-if-particular-application-software-is-installed-in-mac-os

gilbertwyw commented 10 years ago

I'm using iTerm2 on 10.9 and install the plugin via Vundle (macvim: stable 7.4-72) gof works fine either i invoke it in vim or MacVim but when i got, it shows

Error detected while processing function <SNR>16_openterm..<SNR>16_mac_open_iTerm:
line   13:
E119: Not enough arguments for function: <SNR>16_mac_do_ascript_voodoo

Anything i missed in the configuration? Thanks.

justinmk commented 10 years ago

@gilbertwyw Thanks for the report. That was just a really careless bug, sorry. It should be fixed now. If you have any problems, please open a new ticket.

justinmk commented 10 years ago

iTerm can be forced like this:

let g:gtfo#terminals = { 'mac' : 'iterm' }