You are not logged in.
Pages: 1
Hi!
This might be the most stupid question at all but I couldn't figure out how to solve it:
I'm running yakuake on KDE4.1 and recently switched from using nano as my editor of choice to vim.
Now the problem that I have is whenever I'm starting vim as a regular user, it will be in insert mode right away and it is not possible for me to switch to the visual mode. Whenever I hit the ESC key nothing happens and I will still be in insert mode.
The funny part is, when I use sudo and start vim everything just works fine.
And this happened on two ArchLinux computers the same way. I have searched the forum for some solution and also google but found nothing that was close to this problem.
Is there a vim expert here that might help me out of this? Thanks a lot!
Last edited by Back2Cali (2008-07-30 18:40:48)
Offline
Do a :scriptnames in your vim and see if you're sourcing something like mswin.vim.
Offline
That sounds like evim, the "easy vim". Check if you have an alias like "vi=evim", or check your ~/.vimrc (make sure it doesn't set "insertmode"). "evim" is only one letter away from "evil".
Not related, but note that by default the vi and vim executables are not the same. I have "alias vi=vim" in my ~/.bashrc.
Offline
Thanks for the quick help! Deep in my old .bashrc there was an alias to start vim as vim -y, which is easy mode like evim. I removed it, checked it and felt really stupid...
Thanks!
Offline
Pages: 1