From 436520bb5318922fef28f380c0938b6f2ca04067 Mon Sep 17 00:00:00 2001 From: Magic_RB Date: Mon, 10 Aug 2020 14:35:00 +0200 Subject: [PATCH] This commit disables vim inside emacs, the other one makes :wq consistent with :q and :quit --- dot_bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dot_bashrc b/dot_bashrc index bf71924..820baea 100644 --- a/dot_bashrc +++ b/dot_bashrc @@ -43,6 +43,8 @@ PS1=$PS1'\[$(vterm_prompt_end)\]' alias E="SUDO_EDITOR=\"emacsclient -a emacs\" sudoedit" alias e="emacsclient" +[[ ! -z "${INSIDE_EMACS}" ]] && alias vim="e" + #if [[ -d "/mnt/data3/Programs/bin" ]]; then # export PATH="/mnt/data3/Programs/bin:${PATH}" #fi