[vim] add !! to run the last ! command

pull/28/head
Alpha Chen 6 years ago
parent 8473d9b4ba
commit 53c30d4b18

@ -17,6 +17,10 @@ nnoremap <leader>/ :nohlsearch<cr>
" don't unindent lines starting with #
inoremap # X#
" rerun the last command
nnoremap !! :!!<cr>
inoremap !! <esc>:!!<cr>
" }}}
" Commands {{{

Loading…
Cancel
Save