Home:ALL Converter>vim key mapping reference

vim key mapping reference

Ask Time:2010-09-27T18:38:56         Author:opsb

Json Formatter

I've just installed the command-t plugin and what to map it to cmd-t instead of leader-t. I'm fairly new to vim and I don't know what the symbols are for the key mappings. Where can I find a reference for the symbols you use when mapping key combos in vim?

Author:opsb,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/3803027/vim-key-mapping-reference
Benoit :

a vim principle is that an undocumented feature is a useless feature. So vim documentation is all you need.\n\n:help :map\n:help :map-special-keys\n",
2010-09-27T10:47:50
intuited :

:help <> will give you info on the notation used with :map.\n\nThe authors of vim documentation don't always provide links everywhere they ought to (this may not really be practical). Often you end up having to read an entire help file, or at least the first few sections, to get the foundation for what is being explained in a particular entry.\n\nIn this case, I found a link to <> in the very first section of the file which contains the info for :help map-special-keys. That file is called map.txt; you can go directly to the top of it with :help map.txt. The documentation for <> is located in intro.txt, which may itself be worth a going-over.",
2011-04-04T23:19:01
thejoshwolfe :

Thanks to another SO post and answer, I found the following reference page:\n\n:help key-notation\n\nHere's an excerpt:\n\n<S-...> shift-key *shift* *<S-*\n<C-...> control-key *control* *ctrl* *<C-*\n<M-...> alt-key or meta-key *meta* *alt* *<M-*\n<A-...> same as <M-...> *<A-*\n<D-...> command-key (Macintosh only) *<D-*\n<t_xx> key with \"xx\" entry in termcap\n",
2015-10-22T16:38:20
yy