sponsor Vim development Vim logo Vim Book Ad

basic Tip #169: <Tab> = <C-I> and <Esc> = <C-[>

 tip karma   Rating 5/7, Viewed by 1316 

created:   November 24, 2001 18:42      complexity:   basic
author:   Benji Fisher      as of Vim:   5.7

     An FAQ on the vim users' mailing list is whether <Tab> and <C-I>
can be mapped to different things.  The answer is no.  As I understand
it, this is a low level issue:  <Tab> and <C-I> are different names
for the same ASCII code, and there is no way for vim to tell them
apart.  Similarly, <Esc> and <C-[> are the same thing.

 rate this tip  Life Changing Helpful Unfulfilling 

<<Viewing the actual XPM data in GVIM | Repeating a sequence of commands without defining a macro >>

Additional Notes

realblades at yahoo.com, August 15, 2002 23:11
If you mean the piece of plastic, it might just send something other than the two other pieces of plastic. Depending on the operating environment, it may be possible to change them though the change is most likely going to be system-wide.
I'm pretty sure that for example X allows very easy reconfiguration. I'm also quite sure that this is a very bad idea to be thinking about at all.
If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to vim@vim.org after searching the archive. Help Bram help Uganda.
Sponsored by Web Concept Group Inc. SourceForge Logo