[Konsole-devel] [Bug 204388] New: vim + ALT or SHIFT or NUMPAD mappings don't work in konsole

Blink Eye blinkeye at gmx.ch
Wed Aug 19 09:57:23 UTC 2009


https://bugs.kde.org/show_bug.cgi?id=204388

           Summary: vim + ALT or SHIFT or NUMPAD mappings don't work in
                    konsole
           Product: konsole
           Version: 2.3
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: blinkeye at gmx.ch


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

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list