From b1c6689d2a57e0c6d03718c6ecb15b22fe6a16a2 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Sat, 28 Oct 2017 20:49:22 +0200 Subject: [PATCH] Use vim as default editor --- .bashrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.bashrc b/.bashrc index 8c9b13f..f910684 100644 --- a/.bashrc +++ b/.bashrc @@ -92,3 +92,7 @@ if ! shopt -oq posix; then . /etc/bash_completion fi fi + +# use vim as default editor +export VISUAL=vim +export EDITOR="$VISUAL"