Open rafi opened 7 years ago
Using this snippet from docs:
inoremap <expr> <CR> delimitMate#WithinEmptyPair() ? \ "<Plug>delimitMateCR" : \ "external_mapping"
Produces literal text and doesn't trigger plugin, for example:
(Using latest Neovim v0.2.1-278-g1b2acb8d)
@rafi
imap <expr> <CR> delimitMate#WithinEmptyPair() ? \ "\<Plug>delimitMateCR" : \ "external_mapping"
imap
\
<Plug>
Using this snippet from docs:
Produces literal text and doesn't trigger plugin, for example:
(Using latest Neovim v0.2.1-278-g1b2acb8d)