diff options
-rw-r--r-- | zsh/.zshrc | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -162,7 +162,13 @@ if [[ $? == 0 ]]; then export R_LIBS_USER=$HOME/.R fi -export EDITOR='nvim -p' +if [[ -x $(which nvim) ]]; then + export EDITOR='nvim -p' + alias qmv='qmv -envim -fdo' +else + export EDITOR='vim -p' + alias qmv='qmv -evim -fdo' +fi export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 @@ -315,7 +321,6 @@ alias jpegtran='jpegtran -trim' alias pdfmerge='gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=/tmp/merged.pdf -dBATCH' alias thumb='convert -resize 200x200' -alias qmv='qmv -envim -fdo' alias radio='mocp ~/.moc/radio.m3u' alias muxn='tmux new -s' |