Bug 287414

Summary: shortcut ctrl+left not forwarded
Product: [Applications] konsole Reporter: Thomas Monjalon <thomas>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED LATER    
Severity: normal CC: adaptee
Priority: NOR    
Version: 2.7.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Thomas Monjalon 2011-11-23 23:58:24 UTC
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
Comment 1 Jekyll Wu 2011-11-24 01:52:15 UTC
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?
Comment 2 Thomas Monjalon 2011-11-24 09:53:51 UTC
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" ?
Comment 3 Jekyll Wu 2011-11-24 10:31:58 UTC
Well, it basically emulates the escape sequences generated by keystrokes when you are using the Linux console(tty1,tty2...) .