On 07/14/2011 12:58 PM, Gelonida N wrote:
When I connect as one user I can access thevim command
history.

I press ':'  and then the cursor-up key to get to the previous
command, that I typed.

when I connect on the same host as user root (I use su -)

I the terminal displays<UP>  after the ':' character instead
of showing the command history

What could be the reason for this?

both users don't have a ~/.vimrc

The first thing I would do is compare the output of

  :version

for both cases. I would then check your $PATH as the user and as root, as well as the output of "alias" at the command-prompt to see if one of the users is running a different binary than the other. I'm making the assumption that both are being invoked the same (whether as "vi" or as "vim"). It *sounds* like one is pointed at a tiny build of Vim while the other is pointed at a more full-featured build of Vim.

And when you say that neither user has a .vimrc, would one have a .vimrc that is present-but-empty, or does the ~/.vimrc not exist in both cases?

-tim


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to