Chapter 4 - :imap <c-d> dd does not insert two d's
nicohvi opened this issue · comments
Nicolay Hvidsten commented
Hiya, love the book.
This might just be my stupidity typing, but I can't seem to replicate inserting two d
s (lol) when I run :imap <c-d> dd
. Nothing really happens when I enter insert mode and press ctrl - d
. Also, running :unmap <c-d>
returns an error E31: No such mapping
.
However, the second map (:imap <c-d> <esc>dd
) it works as intended.
Nicolay Hvidsten commented
Apparently there was something weird with my vim-instance. Closing and opening vim fixed it.