I want to define a map for a several-words expression.
In ~/.config/nvim/init.vim :
:map abc a-b-c
works perfectly well.
But I want to do something like
:map a\ b\ c a-b-c
If I type "a b c", I want to see "a-b-c".
I've tried some combinations with the slashes, quotation marks, etc.
NOTE:
My real use case is (in French) to auto-replace "c'est à dire" by "c'est-à-dire"; thus I also need to be able to insert a simple quote ' in the expressions.
inoremapor for recursive mappingimap. You can see what commands to use for each mode by doing:help map-modesin vim or online here