> On Thu, Oct 06, 2011 at 10:29:50PM -0800, Roger wrote: >> On Thu, Oct 06, 2011 at 07:22:49PM -0800, Roger wrote: >>> On Thu, Oct 06, 2011 at 12:07:35PM -0800, Roger wrote: >>> " Again, on virtual terminal using GNU Screen >>> map [5~ :tabn<CR> " C-PageUp >>> map [6~ :tabp<CR> " C-PageDown >> >>A slight correction, the tilde suffix maps above are for normal >>PageUp/PageDown >>keys. (No CTRL/ALT key used.) Oops! > >A little more usage (while I'm trouble shooting another tabline feature), and >I'm now seeing this PageUp/PageDown mapping issue again. > >My virtual linux terminal is reporting the '[5~' and '[6~' for Control+PageUp >and Control+PageDown again. > >For some odd reason, the Linux terminal isn't recognizing the CTRL key press >when used with PageUp/PageDown keys! The terminals used within the Linux >Terminal are (GNU Screen) TERM=screen.linux and TERM=linux. > >(X URXVT GNU Screen TERM=screen.linux does grab the Page keys with the caret >fine.)
If I'm correct, the Linux Terminal (keymap/loadkeys) does not define a CTRL+PageUp/Down and only alt/shift. Looking at xev, my PageUp/Down keys are 112 & 117 respectively. So, vim is defining a mapping for tabn/tabp for non-existant keys under the Linux Terminal, as such, they only work in X? -- Roger http://rogerx.freeshell.org/ -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
