summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2020-04-10 12:39:42 +0200
committerFlorian Pritz <bluewind@xinu.at>2020-09-27 15:23:18 +0200
commitd97f1e9d7043aec29437f89ef21ebf4909e36786 (patch)
tree535a3cb49f06543385b7672cfd4ad4bd4b47ed15
parent37ea2266f8d0613e3d4ae5e39ab8e7188207f17e (diff)
downloaddotfiles-d97f1e9d7043aec29437f89ef21ebf4909e36786.tar.gz
dotfiles-d97f1e9d7043aec29437f89ef21ebf4909e36786.tar.xz
vimrc: Add , -> @@ key mapping
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--.vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 8185566..fcffd1f 100644
--- a/.vimrc
+++ b/.vimrc
@@ -224,6 +224,9 @@ nnoremap <leader>P "+P
vnoremap <leader>p "+p
vnoremap <leader>P "+P
+" Repeat macros easily
+nnoremap , @@
+
" Get the commit responsible for the current line
nmap <c-b> :call BlameCurrentLine()<cr>