2 ms·
In Vim you can do the same with key mapping. Like below, you have it for three different modes (normal, visual and insert): nnoremap @@ :update<cr> vnoremap @
by djvdq 4y ago
In Vim you can do the same with key mapping. Like below, you have it for three different modes (normal, visual and insert):
nnoremap @@ :update<cr>
vnoremap @@ <c-c>:update<cr>gv
inoremap @@ <c-o>:update<cr>