4 ms·
In vim insert mode you can type `Ctrl+k - m` or `Ctrl+k - n` to insert them.
by tlhunter 2y ago
In vim insert mode you can type `Ctrl+k - m` or `Ctrl+k - n` to insert them.
- kps 2y agoFun fact: Vim ^K sequences follow RFC1345, but nobody else does.
- benji-york 2y agoAs a long-time Vim user I am very happy to learn this trivia.
- I_complete_me 2y agoSlight correction: m-dash `Ctrl+k -M` or, for n-dash `Ctrl+k -N`. What also works (though more cumbersome) are: For m-dash: Ctrl+q u2014 and for n-dash: Ctrl+q u2013 My vim set up requires Ctrl+q but probably it's normally Ctrl+v, may need to check.