Hacker News new | ask | show | jobs
by andrewvc 5408 days ago
Or even

alias vimtab="gvim -f --remote-tab-silent"

in your .bashrc, .zshrc or equivalent

2 comments

The Mac OS X command open allows this directly:

  $ open -a macvim filename.ext
which permits:

  $ alias mvim="open -a macvim"
as a shortcut.
I have found issue with this recently. When I have multiple tabs open, and then attempt to open multiple files after that, it opens them all in a split view :/

    :help 'tabpagemax'
Ah, but if I set it up as an alias, I can't use it with other apps that have a configurable "Send to editor" function. :)
zsh `vimtab ~/.zshrc`