Make split fix for NERDTree explicit
This commit is contained in:
parent
e4f0009ce2
commit
ccd02cbe16
|
@ -484,16 +484,17 @@ FAQ *startify-faq*
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
|
|
||||||
CtrlP opens a split in Startify!~
|
CtrlP or NERDTree open a split in Startify!~
|
||||||
|
|
||||||
Solution 1)
|
Put this in your vimrc:
|
||||||
>
|
|
||||||
let g:ctrlp_reuse_window = 'startify'
|
|
||||||
<
|
|
||||||
Solution 2)
|
|
||||||
>
|
>
|
||||||
autocmd FileType startify setlocal buftype=
|
autocmd FileType startify setlocal buftype=
|
||||||
<
|
<
|
||||||
|
If you're using CtrlP without NERDTree, there is an even more elegant
|
||||||
|
solution:
|
||||||
|
>
|
||||||
|
let g:ctrlp_reuse_window = 'startify'
|
||||||
|
<
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
|
|
||||||
How do I get both NERDTree and Startify working at startup?~
|
How do I get both NERDTree and Startify working at startup?~
|
||||||
|
|
Loading…
Reference in a new issue