From af979973bcf4a2414bbb6ff377f1f8a0a9f3cc41 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Thu, 21 Mar 2019 16:28:08 -0400 Subject: [PATCH] Never auto-start the filer (I realized every deployment had that workflow disabled) --- README.md | 1 - update | 1 - vim/config/plugins/vimfiler.vim | 9 --------- 3 files changed, 11 deletions(-) diff --git a/README.md b/README.md index f942d97..842081a 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,6 @@ As usual, to have your system use `vimpager` in place of `less`, you'll need to ## Configuration ## * **Configure Variables**: The following variables can be added to _vim/vimrc.user_ and have their values set to the values you require: - * `g:autostartfiler`: **1** = Start the filer file manager when vim is run and the buffer is empty | **0** = Do nothing when vim is run and the buffer is empty (_default_: **1**) * `g:autostartchecker`: **1** = Check syntax once an appropriate file is loaded | **0** = Check syntax only after syntax checking is toggled on (_default_: **0**) * `g:autostarttagbar`: **1** = Have the tagbar load automatically when a compatible format is run | **0** = The tagbar will stay hidden until triggered on demand with its toggle (_default_: **0**) * `g:disablecompletion`: **1** = Disable _deoplete_ autocompletion | **0** = Enable _deoplete _autocompletion_ if the requirements are met (_default_: **0**) diff --git a/update b/update index 41c3f42..3145b2e 100755 --- a/update +++ b/update @@ -118,7 +118,6 @@ printf '\n%s\n' "$cbg_black ~~~ DarkCloud Vimconfig Update Tool ~~~ $c_reset" if (( ! $? )); then { - printf '%s\n%s\n\n' '"Autostart Filer in empty buffers: (*1:filer loads in new empty buffers | 0:filer must be triggered)' '"let g:autostartfiler = 1' printf '%s\n%s\n\n' '"Autocheck syntax checking: (1:start toggled on | *0:start toggled off)' '"let g:autostartchecker = 0' printf '%s\n%s\n\n' '"Autoload Tagbar: (1:start open | *0:start closed)' '"let g:autostarttagbar = 0' printf '%s\n%s\n\n' '"Disable Completion: (1:disable completion | *0:enable completion if requirements are met)' '"let g:disablecompletion = 0' diff --git a/vim/config/plugins/vimfiler.vim b/vim/config/plugins/vimfiler.vim index 3daff54..41da4b2 100644 --- a/vim/config/plugins/vimfiler.vim +++ b/vim/config/plugins/vimfiler.vim @@ -1,12 +1,3 @@ -"autostart filer when vim opens to an empty buffer (default: 1) -if !exists("g:autostartfiler") - let g:autostartfiler = 1 -endif - -if (g:autostartfiler == 1) - autocmd VimEnter * if !argc() | VimFiler -quit -project | endif -endif - let g:vimfiler_as_default_explorer = 1 let g:vimfiler_safe_mode_by_default = 0 let g:vimfiler_enable_auto_cd = 1