dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit cc21f547741b5607b00f1eabbf0556965cfb2747
parent 2495f7680ef8c083c926fd2c5a8db0be415d41d0
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 16 Oct 2019 18:45:21 +0200

Revert to vis if available, add more bindings to exrc

Diffstat:
M.config/sh/profile | 13+++++++------
M.exrc | 2++
2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/.config/sh/profile b/.config/sh/profile @@ -1,12 +1,13 @@ #!/bin/sh export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 -#if type vise >/dev/null 2>&1; then -# export EDITOR=vise -#else -# export EDITOR=vis -#fi -export EDITOR=vi +if type vise >/dev/null 2>&1; then + export EDITOR=vise +elif type vis >/dev/null 2>&1; then + export EDITOR=vis +else + export EDITOR=vi +fi export FCEDIT="$EDITOR" export TERMINAL=st export FILE=nnn diff --git a/.exrc b/.exrc @@ -17,6 +17,7 @@ set filec= map gg 1G map Y ^y$ +map =B :Edit $BIB map =c :!ctags *.c map =d :r !date map =l :set list @@ -26,6 +27,7 @@ map =M :!tmux split-window -p 25 top \; select-pane -l map =n :set number map =N :set nonumber map =o :!tmux split-window $EDITOR "$(find . -type f )" +map =r :r !scholarref map =t :tag map =w :w map =x :wq