KDE4: How to make Home/End keys to work properly in the kde4-console?

Yuri yuri at rawbw.com
Thu Feb 12 11:16:32 PST 2009


I chose "Linux" in Settings->Edit Current Profile->Input.
But Home/End keys bring the cursor to the beginning/end of line either 
only in 'vim', or only for commands typed into console.
But not for both.
If Home="\E[1~" and End="\E[4~" keys work in vim, but for the console 
commands instead of moving cursor they type '~'.
If Home="\E[H" and End="\E[F" keys work for the console commands but not 
in vim.

I believe the first combination is correct and should work for both vim 
and console.
But why it doesn't work in console?

Yuri




More information about the freebsd-questions mailing list