[CentOS] No "last command" in VIM?
scottro at nyc.rr.com
Thu Oct 21 18:39:30 UTC 2010
On Thu, Oct 21, 2010 at 07:42:25PM +0200, Dotan Cohen wrote:
> On Thu, Oct 21, 2010 at 18:36, Scott Robbins <scottro at 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
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
Oz: Sometimes when I'm sitting in class...you know, I'm not
thinking about class 'cause that would never happen... I think
about kissing you. And it's like everything stops, it's like,
freeze frame: Willow kissage.
More information about the CentOS