commit 53ec60fda1b31fda660593246438f0aa1519aed4 (patch)
parent 63d9a99f70c6b6d428536dcfb647edf896a5b528
Author: Alex Karle <alex@karle.co>
Date: Thu, 13 Feb 2020 23:22:55 -0500
vi: add exrc for nvi on OpenBSD
Who knew it had some pretty killer settings! In particular, the ruler is
super helpful, given that it doesn't have a cursorcolumn.
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/install.sh b/install.sh
@@ -43,7 +43,7 @@ for d in mutt offlineimap git nvim; do
done
# Traditional dotfiles
-for d in bash tmux gdb X11 sh; do
+for d in bash tmux gdb X11 sh vi; do
for f in $DOTFILES/$d/*; do
try_ln $f $HOME/.`basename $f`
done
diff --git a/vi/exrc b/vi/exrc
@@ -0,0 +1,4 @@
+set ruler
+set autoindent
+set searchincr
+set showmode