My Google skills failed me. I thought this would be an old, well worn question.
In VIM input mode, how do I get <c-v>
to be recognized as if I were in Normal mode, i.e. enter visual blockwise mode?
I tried a noremap! <C-v <ESC>:visual block
, but that obviously isn't quite the right set of magic words.
NOTE: changed "edit mode" to "insert mode" as suggested by @Explosion's comment.
To enable the Visual block mode in Vim, you have to try out the “Ctrl+V” command within the normal mode.
You can enter insert mode by pressing the i key. Keep in mind that to save your document, you'll need to go back to command mode since only text input is allowed in this mode.
What you want is inoremap
, which maps in insert mode. You can just use <C-v>
since it is not remapped.
inoremap <C-v> <Esc><C-v>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With