views:

72

answers:

1

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?

+3  A: 

Hello, a vim principle is that an undocumented feature is a useless feature. So vim documentation is all you need.

:help :map
:help :map-special-keys
Benoit
I've had a good look through those pages and I'm still a bit lost. I've tried pressing ctrl-v and then the key combo, cmd-t but I get a message saying No mapping found. What I'm really looking for is a reference of the keys that you can include in a :map definition.
opsb
Another attempt I made was :map <C-t> <Leader-t>, I think this gives a good idea of what i'm trying to do(<C-t> is my attempt at mapping cmd-t on a mac).
opsb
OK, so I found an example for the mapping I want. It's map <D-t> :CommandT<CR>. There's no way I could have put that together myself though because I still have no idea how to describe the key combos.
opsb