I want to create keybindings like with the keys: shift, ctrl, alt, cmd, but don't know what how to insert them in the configuration file:
like I know that Ctrl is represented as C
, I could write: ctrl+p
as <C-p>
, but how would you write:
alt+p
?
shift+p
?
cmd+p
?
Check the help file for :h shift
. Basically it will lead to:
<S-...> shift-key shift <S-
<C-...> control-key control ctrl <C-
<M-...> alt-key or meta-key meta alt <M-
<A-...> same as <M-...> <A-
<D-...> command-key (Macintosh only) <D-