From 4dc69bcfc238f7a1b1b07449a5848d066d5f0275 Mon Sep 17 00:00:00 2001 From: Olivier Mangin Date: Tue, 24 Jul 2018 11:01:06 +0200 Subject: [PATCH] Use vi as a (saner) default. Fixes #140. --- pubs/uis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pubs/uis.py b/pubs/uis.py index aae0052..d5ddd88 100644 --- a/pubs/uis.py +++ b/pubs/uis.py @@ -38,9 +38,9 @@ def _get_encoding(conf): def _get_local_editor(): """Get the editor from environment variables. - Use nano as a default. + Use vi as a default. """ - return os.environ.get('EDITOR', 'nano') + return os.environ.get('EDITOR', 'vi') def get_ui():