Reselect the text you just entered

6 Points

Daniel Nägele Daniel Nägele

7 years ago

This mapping selects the text that was entered during the last insert mode usage, which makes indenting (see http://vimrcfu.com/snippet/14), moving (see http://vimrcfu.com/snippet/77) or yanking it easy.

nnoremap gV `[v`]