From 829dfced250fe9628b37a81e89c46b254d82fc5a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 31 Aug 2015 12:47:23 -0300 Subject: On vim -X (2) --- profile.dot.link | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/profile.dot.link b/profile.dot.link index 81f524d..8ca4fdd 100644 --- a/profile.dot.link +++ b/profile.dot.link @@ -45,12 +45,13 @@ if [ ! -z "$BASH" ]; then fi # Default editor -if [ ! -z "$DISPLAY" ]; then - # Avoid "Avoiding protocol specified" error - export EDITOR="vim -X" -else - export EDITOR="vim" -fi +#if [ ! -z "$DISPLAY" ]; then +# # Avoid "Avoiding protocol specified" error +# export EDITOR="vim -X" +#else +# export EDITOR="vim" +#fi +export EDITOR="vim" # Basic git configuration # See http://stackoverflow.com/questions/4192014/git-ps1-extremely-slow-in-kernel-tree -- cgit v1.2.3