Re: No "last command" in VIM?

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



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 <scottro@xxxxxxxxxx> 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 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.

One possible guess, but it's a guess only and I don't have high hopes
for it....


Is there possibly a /bin/vi which takes precedence over /usr/bin/vim?
(Or is the command "vim-enhanced"?)

If you do "which vim" it should show you the path of exactly which vim you are using...  There is a history optin in vimrc, is it possible you set this to 0?  I believe it sets the number of lines to keep in history.

Cheers,
Sean
_______________________________________________
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