summary refs log tree commit diff
path: root/home/.profile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-25 17:59:15 -0500
committerJune McEnroe <june@causal.agency>2021-01-25 18:00:24 -0500
commitefa4b6de4f8d92ceb8769da34dbf6e222f2158b2 (patch)
tree1dd96f0a6b5d0c7887b4c4eddd972ea7c4804156 /home/.profile
parentUse mtags for sh in source-filter (diff)
downloadsrc-efa4b6de4f8d92ceb8769da34dbf6e222f2158b2.tar.gz
src-efa4b6de4f8d92ceb8769da34dbf6e222f2158b2.zip
Use vi and less
I haven't used neovim in a couple weeks by now, so I may as well
commit this.
Diffstat (limited to 'home/.profile')
-rw-r--r--home/.profile11
1 files changed, 6 insertions, 5 deletions
diff --git a/home/.profile b/home/.profile
index 90a7d6e0..e6f75db3 100644
--- a/home/.profile
+++ b/home/.profile
@@ -6,14 +6,15 @@ for prefix in '' /usr/local /opt/local /usr ~/.local; do
 done
 path /usr/games
 
+export EDITOR=vi
+type nvi >/dev/null && EDITOR=nvi
+export EXINIT='set ai ic sm sw=4 ts=4 | map gg 1G'
 export PAGER=less
 export LESS=FRXix4
-export EXINIT='set ai ic sm sw=4 ts=4 | map gg 1G'
-export EDITOR=nvim
-export MANPAGER='nvim +Man!'
-export MANSECT=2:3:1:8:6:5:7:4:9
 export CLICOLOR=1
-export GPG_TTY=$(tty)
+export MANSECT=2:3:1:8:6:5:7:4:9
+export LESS_TERMCAP_us=$(tput sitm)
+export LESS_TERMCAP_ue=$(tput ritm)
 export NETHACKOPTIONS='pickup_types:$!?+/=, color, DECgraphics'
 
 [ -e /usr/share/mk/sys.mk ] || export CFLAGS=-O