Bug 204388 - vim + ALT or SHIFT or NUMPAD mappings don't work in konsole
Summary: vim + ALT or SHIFT or NUMPAD mappings don't work in konsole
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konsole
Classification: Applications
Component: keyboard (show other bugs)
Version: 2.3
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-19 11:57 UTC by Blink Eye
Modified: 2017-02-13 03:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Blink Eye 2009-08-19 11:57:23 UTC
Version:           2.3 (using 4.3.00 (KDE 4.3.0), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.31-rc6

Even though /usr/share/apps/konsole/default.keytab has a commented section about keypad for Vim it doesn't work. The same goes for ALT and SHIFT mappings - while everything works in xterm.

Example ~/.vimrc mappings:

" Maps ALT-[h,j,k,l] to resizing a window split
map <A-h> <C-w><
map <A-j> <C-W>-
map <A-k> <C-W>+
map <A-l> <c-w>>

" Maps SHIFT-Arrow[Up,Down,Left,Right] to resize a window split
map <S-Up> <C-W>+<CR>
map <S-Down> <C-W>-<CR>
map <S-Left> <c-w><<CR>
map <S-Right> <c-w>><CR>

" Fast window resizing with +/- keys (horizontal); / and * keys (vertical)
if bufwinnr(1)
   map <kPlus> <C-W>+<CR>
   map <kMinus> <C-W>-<CR>
   map <kDivide> <c-w><<CR>
   map <kMultiply> <c-w>><CR>
endif
Comment 1 Jekyll Wu 2012-04-26 12:35:10 UTC
Git commit ad4314c769dda0ce0bca6741b6bff4f4c9e18a61 by Jekyll Wu.
Committed on 26/04/2012 at 08:32.
Pushed by jekyllwu into branch 'master'.

Allow Shift+Arrow to be passed into to applications like mc and vim

Note: action shortcuts take precedence of keybindings. So to use
Shift+Arrow in mc/vim, make sure they are not set as action shortcuts.
Related: bug 59256
FIXED-IN: 4.8.3

M  +5    -0    data/keyboard-layouts/default.keytab

http://commits.kde.org/konsole/ad4314c769dda0ce0bca6741b6bff4f4c9e18a61
Comment 2 Jekyll Wu 2012-04-26 12:36:41 UTC
Git commit b74cc7f2446cdd709ec293505f55360e0fabc7b5 by Jekyll Wu.
Committed on 26/04/2012 at 08:32.
Pushed by jekyllwu into branch 'KDE/4.8'.

Allow Shift+Arrow to be passed into to applications like mc and vim

Note: action shortcuts take precedence of keybindings. So to use
Shift+Arrow in mc/vim, make sure they are not set as action shortcuts.
Related: bug 59256
FIXED-IN: 4.8.3
(cherry picked from commit ad4314c769dda0ce0bca6741b6bff4f4c9e18a61)

M  +5    -0    data/keyboard-layouts/default.keytab

http://commits.kde.org/konsole/b74cc7f2446cdd709ec293505f55360e0fabc7b5