commit 982f9dc8b281ba58328d498a29f216a5eb4e31cd
parent 1e19b09b74ca098c2407b929425b878d26205d33
Author: Anton Konyahin <me@konyahin.xyz>
Date: Tue, 5 Sep 2023 13:07:41 +0300
nvi: new version with altnotation
Diffstat:
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/nvi/dot-nexrc b/nvi/dot-nexrc
@@ -1,4 +1,5 @@
" settings
+set altnotation
set autoindent
set expandtab
set ruler
@@ -36,6 +37,10 @@ map ;d wb"zyw:Atag "zp
" snippets
ab ;f for(<++>){ <++>}
-
" shell check
map ;c :!clear && shellcheck %
+
+" file manager
+map ;xd :e ls;xg
+map ;xg o:%d:r !ls -p
+map ; wb"zyw:C:cd! "zp;xg
diff --git a/sh/.config/ksh/kshrc b/sh/.config/ksh/kshrc
@@ -8,7 +8,7 @@ export LANGUAGE=ru_RU.UTF-8
export NAME='Anton Konyahin'
export EMAIL='me@konyahin.xyz'
-export EDITOR='kak'
+export EDITOR='nvi'
export ALTERNATE_EDITOR='emacs -nw'
export PAGER=less
export BROWSER=open