I have this custom function in my
~/.vimrc mapped to Visual mode using
After having executed the function using
<leader><space>, how execute it again using something similar to the dot (
.) operator, so that I don't have two press to keys?
function! Visual_indent_with_space() range abort '<,'>g/./exe "normal! " v:count1 . "I " :normal gv endfunction vnoremap <leader><space> :call Visual_indent_with_space()<cr>