Re: No "last command" in VIM?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Oct 21, 2010 at 07:42:25PM +0200, Dotan Cohen wrote:
> On Thu, Oct 21, 2010 at 18:36, Scott Robbins <scottro@xxxxxxxxxx> 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. 



-- 
Scott Robbins
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.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux