On 2009-05-21, Danny wrote:

> My other question though I am still wondering about. What is the
> "correct" escape sequence to duplicate those keyboard commands. I
> mean, Vim already has representations for <C-Tab> and <C-S-Tab>, but
> how do I figure out what those are? Although not necessary, I'd like
> to be able to send the keybindings that vim is actually expecting.

That I don't know.  I thought that

    :set termcap

might show it, but it doesn't.  Using helpgrep didn't turn up
anything useful in the Vim documentation, either.  I looked in the
source code and found various definitions for <S-Tab> in the
builtin_termcaps[] array in term.c, but nothing for <C-Tab> or
<C-S-Tab>.  You might find a "standard" sequence for those keys in
the documentation for ncurses or xterm (e.g., ctlseqs.txt in the
xterm source directory), but I didn't find anything explicit in the
little bit of searching that I did and I didn't take the time to
read any of it thoroughly.

> Thanks.

You're welcome.


BTW, the convention on this list is to bottom post.

Regards,
Gary



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to