On Thu, Oct 21, 2010 at 07:42:25PM +0200, Dotan Cohen wrote:
On Thu, Oct 21, 2010 at 18:36, Scott Robbins scottro@nyc.rr.com wrote:
Is there possibly a /bin/vi which takes precedence over /usr/bin/vim? (Or is the command "vim-enhanced"?)
That's it! Using the command vim instead of vi to open the file gives me history. Can anyone else confirm this? I actually confirmed it on another server, but both were installed from the same sever-farm default image. I'll file a bug if needed and someone confirms.
I've had it happen, but don't remember what system. FreeBSD, for example, makes a distinction between vi and vim, vim being in /usr/local if installed--one doesn't want to symlink, because in FreeBSD's case, /usr is not mounted if booted in single user mode.
I wouldn't even consider it a bug. This way, users preferring the sparser vi can use it and those who prefer vim can make an alias in their .bash_profile.