From 8d2e9d605734930cc7a51ccca80a532c05775773 Mon Sep 17 00:00:00 2001 From: Holger Just Date: Tue, 7 Aug 2018 16:28:28 +0200 Subject: [PATCH] Open new window when using atom as $EDITOR --- .bashrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index 2348334..d8112b3 100644 --- a/.bashrc +++ b/.bashrc @@ -39,10 +39,11 @@ export HISTSIZE=1000 export HISTFILESIZE="" shopt -s histappend >/dev/null 2>&1 -export EDITOR="vim" if type atom >/dev/null 2>&1; then - export BACKGROUND_EDITOR="atom" + export BACKGROUND_EDITOR="atom -n" + export EDITOR="atom -nw" else + export EDITOR="vim" export BACKGROUND_EDITOR="subl -n" fi export SVN_EDITOR="$EDITOR"