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
![](https://coderwall-assets-0.s3.amazonaws.com/uploads/user/avatar/51377/id.jpg)
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
·
![](https://coderwall-assets-0.s3.amazonaws.com/uploads/user/avatar/10268/a367f00d21bc986d5f74f6b56dabddb6.jpeg)
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#