I'd like to bind some combinations to Alt-_some-key_
, but not quite sure about how to do it correctly. Here is one of my current setup (example):
vnoremap <ESC>c "+y
This is because my terminal accept Alt-c
as <ESC>c
. But I suppose it's not portable.
Is there a way to specify some alias (like Alt
) and set its meaning to ESC
so I could change it in case I moved to another terminal?