This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Keycodes and rxvt-unicode


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]