VIM - Visual Mode problem
Hi,
this problem only occurs in Vim (not GVim). When pressing v (aka entering visual mode) it doesn't enter visual mode. But the second press of v starts it, but then visual mode behaves weird. The <Leader> is not recognized, so my mappings doesn't work. This happens even when starting vim with "vim -u NONE". Does anyone have a clue about what might be wrong? Regards, dagH |
Hello,
What distribution are you using? It seems as when you open up vim, you are using the original vim modes; You most likely need to install the vim-common and vim-enhanced packages, along with the dependencies that normally come with it. If you are using ubuntu, enter the following on the command line: Code:
sudo apt-get install vim Josh |
Well, I have all that installed, so it can't be the reason.
I thought that it might be problems in my vimrc file, but the problem was still there even when I ran vim without the vimrc file. Any other clue? PS: using Ubuntu 10.04 |
Can you post what is outputted when you ran the above command? I know it sounds silly, but when I was at my friends house a while back, he had a similar problem, and he needed to install more packages than he realized.
|
I didn't run it because it was already installed, but my installed vim packages are these:
Code:
~$ dpkg --get-selections | grep vim Code:
~$ apt-cache search vim | grep vim |
I'm about to leave for work dude, but for the hell of it, try removing vim-tiny for the time being, along with messing with the other packages. I know it's a simple fix, but I don't time until now plus 12-13 hours.....
Hope you find a fix while I'm gone! -Josh |
Hey man, thanks!
...even if the problem wasn't vim-tiny, but your suggestion pointed me in the right direction. The problem was the binary vim.gnome which /usr/bin/vim linked to. When I started /usr/bin/vim.basic, then problem disappeared right away :) So thanks for leading be in the right direction :) |
All times are GMT -5. The time now is 06:29 AM. |