From cd1c925dcba2e8f5f741804afb4815fb5c811c80 Mon Sep 17 00:00:00 2001 From: Titouan Rigoudy Date: Wed, 15 Dec 2021 12:45:28 +0100 Subject: [PATCH] Make vim the default editor. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 3196d0b..77f6a2e 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,10 @@ First, clone this repository into `~/dotfiles`. Add the following to your .bashrc: ```sh +# Use vim for editing. +export VISUAL="vim" +export EDITOR="${VISUAL}" + # Better prompt. source ~/dotfiles/prompt.sh ```