commit fefd8bdf07282883c9a735e2fd12ec6d972eccf7
parent 3088938e2a29c67bd14f5ef71f1e8739e147a9d2
Author: Anton Konyahin <me@konyahin.xyz>
Date: Wed, 6 Mar 2024 21:10:07 +0300
nvi: clean some mappings
Diffstat:
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/nvi/dot-nexrc b/nvi/dot-nexrc
@@ -10,14 +10,14 @@ set iclower
set shiftwidth=4
set tabstop=4
-map g 1G
map q :q
map Q :q!
-map zz mzz.`z
" movements
-map ;n /<++>df>i
-ab ;n /<++>df>i
+map g 1G
+map zz mzz.`z
+map ;n /^[{}]
+map ;p ?^[{}]
" open current word in man
map ;m wb"zyw:C!man "zp
@@ -34,9 +34,6 @@ map ;w {j!}fold -s -w 80
" go to definition
map ;d wb"zyw:Atag "zp
-" snippets
-ab ;f for(<++>){ <++>}
-
" shell check
map ;c :!clear && shellcheck %