Keycodes and rxvt-unicode

Chris Sutcliffe ir0nh34d@gmail.com
Mon Jul 3 12:54:00 GMT 2006


> yes - they're documented (in rxvt's source, there's a doc or docs
> directory containing the file).  I added some comments to terminfo.src in
> ncurses which covers much of that:

Thanx for providing that.

I did some Googling and came up with this link:

http://groups.yahoo.com/group/vim/message/66414

Using the 1 line c code listed there, I used it to determine the
escape sequence for Ctrl-PageUp and Ctrl-PageDown and added the
following to my .vimrc:

nmap    <ESC>[5^    <C-PageUp>
nmap    <ESC>[6^    <C-PageDown>
nnoremap <C-PageDown> :bn!<CR>
nnoremap <C-PageUp> :bp!<CR>

and now everything works as expected.

Cheers!

Chris

-- 
Chris Sutcliffe
http://ir0nh34d.blogspot.com
http://emergedesktop.org

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/



More information about the Cygwin-xfree mailing list