aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-16 20:19:53 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-16 20:19:53 +1200
commit1865e4449a7619d901a69b235ec1380a4537b888 (patch)
tree7bba41af4dd7fe2c39d74859b41bf66a63a3ed02
parentRefactor and fix arg errors in put_date.vim plugin (diff)
downloaddotfiles-1865e4449a7619d901a69b235ec1380a4537b888.tar.gz
dotfiles-1865e4449a7619d901a69b235ec1380a4537b888.zip
Add a rough normal mode map to repeat with bang
-rw-r--r--vim/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 8e063900..9f4d68e5 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -1555,6 +1555,9 @@ nnoremap <Leader>?
"" Leader,. runs the configured make program into the location list
nnoremap <Leader>.
\ :<C-U>lmake!<CR>
+"" Leader,! repeats the last command, adding a bang
+nnoremap <Leader>!
+ \ :<Up><Home><S-Right>!<CR>
"" Leader,q formats the current paragraph
nnoremap <Leader>q gqap
"" Leader,r acts as a replacement operator