Make vim's ':e' work in your terminal
This only makes sense on a system where you're using gvim for your editing, but you can save yourself wasted seconds from 'edit file' muscle memory taking over with the bash alias:
alias :e='gvim --remote-silent'
More information on --remote and --remote-silent available at vimdoc: http://vimdoc.sourceforge.net/htmldoc/remote.html
Written by Chisel Wright
Related protips
2 Responses
Thx for this tip ! That's so a time saving tip. I can't count how many times I type :q, :wq, :e ... in the terminal.
over 1 year ago
·
You can also set the VISUAL variable to this so gvim is used for git commits and other CLI programs that start an editor
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#