From b1f87838d4adea8622a7543811c5bd88ba79cbbf Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 6 Dec 2024 21:54:00 +0100 Subject: Let --- bashrc | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'bashrc') diff --git a/bashrc b/bashrc index 4d6e54a..a053eb5 100644 --- a/bashrc +++ b/bashrc @@ -1,17 +1,7 @@ # vim: foldmethod=marker ts=4 sw=4 # editor {{{ # Prefer neovim over vim over vi -if [ -e /usr/bin/nvim ] -then - EDITOR=/usr/bin/nvim -else - if [ -e /usr/bin/vim ] - then - EDITOR=/usr/bin/vim - else - EDITOR=/usr/bin/vi - fi -fi +EDITOR=vim export EDITOR # }}} # R {{{ -- cgit v1.2.1