[Bug 91468] [Feisty] problems with vim and shortcuts

Thilo Six t.six at gmx.de
Fri Mar 16 16:58:34 UTC 2007


Public bug reported:

Binary package hint: vim-full

I have vim-full installed:

$ aptitude show vim-full
Package: vim-full
State: installed
Automatically installed: no
Version: 1:7.0-164+1ubuntu6


In my .vimrc i have the following keymapping:
<--------------------------------------------------------
" The paste option is intended for invoking temporarily while pasting in text.
" It avoids things like autoindent causing "stepped" text. This defines the
" \tp ("toggle paste") mapping, also set to <S-F4>  in both normal and insert
" mode:
nnoremap \tp :set invpaste paste?<CR>
nmap <S-F4> \tp
imap <S-F4> <C-O>\tp
set pastetoggle=<S-F4>
-------------------------------------------------------->

But instead of setting vim into paste mode it enters "1;2S" at cursor
position.

After playing a little i found out:

<S-F5><S-F6><S-F7><S-F8><S-F9><S-F11><S-F12>
These work as expected.

But shift+F1 produces 1;2P
shift+F2 produces 1;2Q
shift+F3 produces 1;2R
shift+F4 produces 1;2S

any idea how to stop this?

** Affects: gnome-terminal (upstream)
     Importance: Unknown
         Status: Unconfirmed
** Affects: gnome-terminal (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
[Feisty] problems with vim and shortcuts
https://launchpad.net/bugs/91468




More information about the desktop-bugs mailing list