diff options
| author | Max Christian Pohle | 2017-11-02 20:18:20 +0100 | 
|---|---|---|
| committer | Max Christian Pohle | 2017-11-02 20:18:20 +0100 | 
| commit | b7272b72e3b72a829f9c4089667e7db8dcdd850b (patch) | |
| tree | 844c7a9caa7e76915d00d5a8e874ea63b519273c | |
| parent | 0e74b6f3a07655cf95e4ff172400efaa4a60f3ad (diff) | |
| download | vim-karlmarks-b7272b72e3b72a829f9c4089667e7db8dcdd850b.tar.bz2 vim-karlmarks-b7272b72e3b72a829f9c4089667e7db8dcdd850b.zip  | |
Added editexisting script for gvim/vim
| -rw-r--r-- | vimrc-full | 11 | 
1 files changed, 5 insertions, 6 deletions
| @@ -1,11 +1,5 @@ | |||
| 1 | " vim: noai:ts=2:sw=2:sts=2 iskeyword+=\:,\!,\<,\>,\-,\& | 1 | " vim: noai:ts=2:sw=2:sts=2 iskeyword+=\:,\!,\<,\>,\-,\& | 
| 2 | 2 | ||
| 3 | " scripts from the default vim installation, which do not get loaded by default, but are useful. | ||
| 4 | " if filereadable($VIMRUNTIME.'/macros/editexisting.vim') | ||
| 5 | " " source $VIMRUNTIME/macros/editexisting.vim | ||
| 6 | " packadd! editexisting | ||
| 7 | " endif | ||
| 8 | |||
| 9 | "======================================================================================================================= | 3 | "======================================================================================================================= | 
| 10 | " GENERAL: | 4 | " GENERAL: | 
| 11 | "======================================================================================================================= | 5 | "======================================================================================================================= | 
| @@ -295,6 +289,11 @@ else " default Vim? | |||
| 295 | menu &UI.&Open\ in\ Serversession | 289 | menu &UI.&Open\ in\ Serversession | 
| 296 | \ :execute ":bd<Bar>:call remote_send('GVIM', ':e ' . expand('#:p') . '\<CR\>')"<CR> | 290 | \ :execute ":bd<Bar>:call remote_send('GVIM', ':e ' . expand('#:p') . '\<CR\>')"<CR> | 
| 297 | 291 | ||
| 292 | " scripts from the default vim installation, which do not get loaded by default, but are useful. | ||
| 293 | if filereadable($VIMRUNTIME.'/macros/editexisting.vim') | ||
| 294 | packadd! editexisting | ||
| 295 | endif | ||
| 296 | |||
| 298 | endif | 297 | endif | 
| 299 | 298 | ||
| 300 | 299 | ||
