aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2022-12-27 23:26:01 +0000
committerJuan J. Martinez <jjm@usebox.net>2022-12-27 23:26:01 +0000
commiteca455c47bda263f8bd22452d7e9d12ab153baf0 (patch)
treeab22d9a68f400a8309aadfebb52bb1d7c98d7db8
parentd688adc826b37b0a993c1d3cce07ebcfdacf9a8d (diff)
downloaddotnvim-eca455c47bda263f8bd22452d7e9d12ab153baf0.tar.gz
dotnvim-eca455c47bda263f8bd22452d7e9d12ab153baf0.zip
New keboard
Prevent accidental exectution of macros when I'm trying to save.
-rw-r--r--init.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/init.vim b/init.vim
index 8040380..1d66cf7 100644
--- a/init.vim
+++ b/init.vim
@@ -108,4 +108,7 @@ let g:gutentags_generate_on_missing=0
let g:gutentags_generate_on_new=0
let g:gutentags_cache_dir='~/.cache/tags/'
-" EOF
+" avoid replaying macros by mistake
+nnoremap <BS>@ @
+nnoremap @ :
+