[CentOS] No last command in VIM?

2010-10-21 Thread Dotan Cohen
Although I made sure that vim-enhanced.i386 is installed, pressing : then upArrow does not show me the last command that I've typed. Might I still be using vim-minimal erroneously? How to fix that? I don't see any mention of this in google or the past few months of fine archives. Thanks.

Re: [CentOS] No last command in VIM?

2010-10-21 Thread Scott Robbins
On Thu, Oct 21, 2010 at 06:19:54PM +0200, Dotan Cohen wrote: Although I made sure that vim-enhanced.i386 is installed, pressing : then upArrow does not show me the last command that I've typed. Might I still be using vim-minimal erroneously? How to fix that? I don't see any mention of this in

Re: [CentOS] No last command in VIM?

2010-10-21 Thread John Kennedy
Is there an alias hanging around that is redirecting you? John On Thu, Oct 21, 2010 at 12:36, Scott Robbins scot...@nyc.rr.com wrote: On Thu, Oct 21, 2010 at 06:19:54PM +0200, Dotan Cohen wrote: Although I made sure that vim-enhanced.i386 is installed, pressing : then upArrow does not show

Re: [CentOS] No last command in VIM?

2010-10-21 Thread Sean Hart
On 10/21/10 9:48 AM, John Kennedy wrote: Is there an alias hanging around that is redirecting you? John On Thu, Oct 21, 2010 at 12:36, Scott Robbins scot...@nyc.rr.com mailto:scot...@nyc.rr.com wrote: On Thu, Oct 21, 2010 at 06:19:54PM +0200, Dotan Cohen wrote: Although I made sure

Re: [CentOS] No last command in VIM?

2010-10-21 Thread Dotan Cohen
On Thu, Oct 21, 2010 at 18:36, Scott Robbins scot...@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

Re: [CentOS] No last command in VIM?

2010-10-21 Thread Alfred von Campe
On Oct 21, 2010, at 13:42, Dotan Cohen wrote: I'll file a bug if needed and someone confirms. It's not a bug: /bin/vi is supplied by the vim-minimal package and /usr/bin/vim is supplied by vim-ehnabced. Just alias vi to vim and you should be all set. Alfred

Re: [CentOS] No last command in VIM?

2010-10-21 Thread Steve Huff
On Oct 21, 2010, at 1:42 PM, Dotan Cohen wrote: I'll file a bug if needed and someone confirms. Dotan, This is not a bug. When you invoke vim as 'vi', the -C option is added, which sets Vim to Vi-compatible mode; this disables a number of features, including :history. From :help history

Re: [CentOS] No last command in VIM?

2010-10-21 Thread Steve Huff
On Oct 21, 2010, at 1:52 PM, Alfred von Campe wrote: /bin/vi is supplied by the vim-minimal package d'oh! Alfred is correct, and i am mistaken (in cause, though not in effect). -steve -- If this were played upon a stage now, I could condemn it as an improbable fiction. - Fabian, Twelfth

Re: [CentOS] No last command in VIM?

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

Re: [CentOS] No last command in VIM?

2010-10-21 Thread Dotan Cohen
On Thu, Oct 21, 2010 at 19:52, Alfred von Campe alf...@von-campe.com wrote: It's not a bug: /bin/vi is supplied by the vim-minimal package and /usr/bin/vim is supplied by vim-ehnabced.  Just alias vi to vim and you should be all set. Rather than alias it, I'll just get used to typing vim on