Hacker News new | ask | show | jobs
by johncoltrane 4876 days ago
For the typical use of Vim, it's perfect:

    $ vim filename
1 comments

It breaks down when you use it in other common ways, like from your git configuration.
You can't use

    vim
anyway in git: you must give it the full path.
No, just 'vim' itself is fine, if you have a 'vim' in your PATH.

https://github.com/search?q=%27editor+%3D%27++extension%3A.g...

What I usually do is maintain a set of symlinks in ~/bin/ (which is in my PATH) if they are not already in my PATH (or if I want them to override something else in my PATH, like HEAD builds of various things on occasion), and only use aliases to set default arguments (`ls --color=auto` for example).

No. On Mac OS X, using `vim` generally causes this error:

    error: There was a problem with the editor 'vi'
The full path must be used to get rid of it.