In VIM how can I configure ctrl-v to enter visual blockmode while in insert mode?

vim

Solution

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>

Problem

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.

Original source