From b7272b72e3b72a829f9c4089667e7db8dcdd850b Mon Sep 17 00:00:00 2001
From: Max Christian Pohle
Date: Thu, 2 Nov 2017 20:18:20 +0100
Subject: Added editexisting script for gvim/vim

---
 vimrc-full | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

(limited to 'vimrc-full')

diff --git a/vimrc-full b/vimrc-full
index 8475d0a..383951b 100644
--- a/vimrc-full
+++ b/vimrc-full
@@ -1,11 +1,5 @@
 " vim: noai:ts=2:sw=2:sts=2 iskeyword+=\:,\!,\<,\>,\-,\&
 
-" scripts from the default vim installation, which do not get loaded by default, but are useful.
-" if filereadable($VIMRUNTIME.'/macros/editexisting.vim')
-"   " source $VIMRUNTIME/macros/editexisting.vim
-"   packadd! editexisting
-" endif
-
 "=======================================================================================================================
 " GENERAL:
 "=======================================================================================================================
@@ -295,6 +289,11 @@ else           " default Vim?
   menu &UI.&Open\ in\ Serversession
         \ :execute ":bd<Bar>:call remote_send('GVIM', ':e ' . expand('#:p')  . '\<CR\>')"<CR>
 
+  " scripts from the default vim installation, which do not get loaded by default, but are useful.
+  if filereadable($VIMRUNTIME.'/macros/editexisting.vim')
+    packadd! editexisting
+  endif
+
 endif
 
 
-- 
cgit v1.2.3