mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-11-22 06:44:09 -05:00
Never auto-start the filer (I realized every deployment had that workflow disabled)
This commit is contained in:
parent
ce8a65a65f
commit
af979973bc
3 changed files with 0 additions and 11 deletions
|
@ -57,7 +57,6 @@ As usual, to have your system use `vimpager` in place of `less`, you'll need to
|
||||||
## Configuration ##
|
## Configuration ##
|
||||||
|
|
||||||
* **Configure Variables**: The following variables can be added to _vim/vimrc.user_ and have their values set to the values you require:
|
* **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: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: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**)
|
* `g:disablecompletion`: **1** = Disable _deoplete_ autocompletion | **0** = Enable _deoplete _autocompletion_ if the requirements are met (_default_: **0**)
|
||||||
|
|
1
update
1
update
|
@ -118,7 +118,6 @@ printf '\n%s\n' "$cbg_black ~~~ DarkCloud Vimconfig Update Tool ~~~ $c_reset"
|
||||||
|
|
||||||
if (( ! $? )); then
|
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' '"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' '"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'
|
printf '%s\n%s\n\n' '"Disable Completion: (1:disable completion | *0:enable completion if requirements are met)' '"let g:disablecompletion = 0'
|
||||||
|
|
|
@ -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_as_default_explorer = 1
|
||||||
let g:vimfiler_safe_mode_by_default = 0
|
let g:vimfiler_safe_mode_by_default = 0
|
||||||
let g:vimfiler_enable_auto_cd = 1
|
let g:vimfiler_enable_auto_cd = 1
|
||||||
|
|
Loading…
Reference in a new issue