[arch-general] problems with vim
Hi list I wanted to ask here first, because it might be a configuration problem on my side, which I tried to, but couldn't figure out. My problem is, in vim the right and left arrow keys don't do anything in command mode (in insert mode everything's normal). The up and down arrow keys work as expected. I know in vim it makes more sense to use hjkl to navigate, which I prefer most of the time, but sometimes - I don't really know why - I use the arrow keys. To investigate further I moved ~/.vim and ~/.vimrc, still the same. I tried it with a new user, still the same. Is this a bug? Can somebody confirm this behavior? Best Army
On Fri, Aug 19, 2011 at 11:31 PM, Uli Armbruster <uli.armbruster@googlemail.com> wrote:
Hi list
I wanted to ask here first, because it might be a configuration problem on my side, which I tried to, but couldn't figure out.
My problem is, in vim the right and left arrow keys don't do anything in command mode (in insert mode everything's normal). The up and down arrow keys work as expected. I know in vim it makes more sense to use hjkl to navigate, which I prefer most of the time, but sometimes - I don't really know why - I use the arrow keys. To investigate further I moved ~/.vim and ~/.vimrc, still the same. I tried it with a new user, still the same.
Is this a bug? Can somebody confirm this behavior?
Best Army
I don't use any config for my vim and arrow keys work fine.
On Fri, Aug 19, 2011 at 11:38:12PM +0200, Karol Blazewicz wrote:
On Fri, Aug 19, 2011 at 11:31 PM, Uli Armbruster <uli.armbruster@googlemail.com> wrote:
Hi list
I wanted to ask here first, because it might be a configuration problem on my side, which I tried to, but couldn't figure out.
My problem is, in vim the right and left arrow keys don't do anything in command mode (in insert mode everything's normal). The up and down arrow keys work as expected. I know in vim it makes more sense to use hjkl to navigate, which I prefer most of the time, but sometimes - I don't really know why - I use the arrow keys. To investigate further I moved ~/.vim and ~/.vimrc, still the same. I tried it with a new user, still the same.
Is this a bug? Can somebody confirm this behavior?
Best Army
I don't use any config for my vim and arrow keys work fine.
Vim 7.3.266 here, with .vimrc and .viminfo: right and left arrow keys work fine in command mode. T.
On Fri, Aug 19, 2011 at 11:31 PM, Uli Armbruster <uli.armbruster@googlemail.com> wrote:
My problem is, in vim the right and left arrow keys don't do anything in command mode
I confirm keys working fine in every mode. Did you try a pacman -S vim? -- Bl@ster / dottorblaster
On Fri, Aug 19, 2011 at 11:31 PM, Uli Armbruster <uli.armbruster@googlemail.com> wrote:
My problem is, in vim the right and left arrow keys don't do anything in command mode
What locale, what keyboard setting, what terminal emulator/console/terminal multiplexer and what other aspect of the environment might be causing the error? Did you try to replicate the behaviour on a different machine? mar77i
* Martti Kühne <mysatyre@gmail.com> [20.08.2011 00:25]:
On Fri, Aug 19, 2011 at 11:31 PM, Uli Armbruster <uli.armbruster@googlemail.com> wrote:
My problem is, in vim the right and left arrow keys don't do anything in command mode
What locale, what keyboard setting, what terminal emulator/console/terminal multiplexer and what other aspect of the environment might be causing the error? Did you try to replicate the behaviour on a different machine?
mar77i
Thanks to all you so far. So it's - as I expected - a problem on my side (which I found while I was writing this, but still I'll post it completely) I am german, but I have an english system, so: % locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= and a german keyboard setting: in my rc.conf: KEYMAP="de" in my xorg.conf.d/ Section "InputClass" Identifier "evdev keyboard catchall" MatchIsKeyboard "on" MatchDevicePath "/dev/input/event*" Driver "evdev" Option "XkbLayout" "de" Option "XkbModel" "pc105" EndSection By the way, on tty it's the same behaviour, so it's not caused by Xorg I use rxvt-unicode, just tried it in xterm, same behaviour. I also reinstalled vim and vim-runtime. Actually I installed vim and replaced gvim, which I had installed. Nothing's changed. Then I reinstalled gvim and tried it with gvim, still the same. -- la solucion -- Ok, now I found it, I completely removed gvim, so some plugins were uninstalled as well. Then after reinstalling vim everything's fine. This was caused by vim-bufstat-git from the AUR. I actually don't need this, so I'll leave it off the system for now and file a bugreport. An interesting part is, my mail client is mutt, which I configured to use vim as editor. While I was writing this mail, my problem was even solved in this running vim session. Weird stuff! Thanks for your input, I was just to hasty, should have tried to figure it out before posting here. Solved :)
On Sat, Aug 20, 2011 at 1:22 PM, Uli Armbruster <uli.armbruster@googlemail.com> wrote:
This was caused by vim-bufstat-git from the AUR. I actually don't need this, so I'll leave it off the system for now and file a bugreport.
It's not a bug: https://github.com/rson/vim-bufstat/blob/master/doc/bufstat.txt map <left> <plug>bufstat_scroll_left map <right> <plug>bufstat_scroll_left it's a simple mapping, you can use a different one.
* Karol Blazewicz <karol.blazewicz@gmail.com> [20.08.2011 13:26]:
On Sat, Aug 20, 2011 at 1:22 PM, Uli Armbruster <uli.armbruster@googlemail.com> wrote:
This was caused by vim-bufstat-git from the AUR. I actually don't need this, so I'll leave it off the system for now and file a bugreport.
It's not a bug: https://github.com/rson/vim-bufstat/blob/master/doc/bufstat.txt map <left> <plug>bufstat_scroll_left map <right> <plug>bufstat_scroll_left
it's a simple mapping, you can use a different one.
Oh crap, thanks Karol!
participants (5)
-
Alessio 'Blaster' Biancalana
-
Karol Blazewicz
-
Martti Kühne
-
Thaddeus Nielsen
-
Uli Armbruster