Version: 2.7.3 (using KDE 4.7.3) OS: Linux I use shortcuts ctrl+left and ctrl+right in my vim. If I use vim in xterm, the shortcuts work. If I use vim in Konsole on another computer (same version, same distribution), it works also. But if I use vim in Konsole on my computer, it doesn't work. The shortcut work on this computer if I configure it as a Konsole shortcut. But it is never forwarded to vim. How could I debug the shortcut handling ? Reproducible: Always Steps to Reproduce: Use these vim shortcuts in Konsole on my computer ;) Actual Results: The cursor move as if the ctrl key was ignored. Expected Results: The shortcut should be handled by vim. OS: Linux (x86_64) release 3.1.1-1-ARCH Compiler: gcc
Thanks for reporting! However, I failed to reproduce that problem. And based upon the description, it looks more like a configuration problem of konsole and/or vim. Maybe something goes wrong in the keybinding used by your Konsole profile. Which keybinding is chosen and did you make some customization of it? Anothe simple question: if you create a new user account(which means ~/.kde4 and .vimrc are empty) and login using that account, does the reported problem exist?
You're right: the problem comes from the keybinding chosen in Konsole. I've chosen "Linux Console". It works with "Default (XFree 4)". Thanks a lot ! What is the usage of the keybinding "Linux Console" ?
Well, it basically emulates the escape sequences generated by keystrokes when you are using the Linux console(tty1,tty2...) .