浏览代码

Make split fix for NERDTree explicit

Jeremy Mack 12 年之前
父节点
当前提交
ccd02cbe16
共有 1 个文件被更改,包括 6 次插入5 次删除
  1. 6 5
      doc/startify.txt

+ 6 - 5
doc/startify.txt

@@ -484,15 +484,16 @@ 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'
+    autocmd FileType startify setlocal buftype=
 <
-Solution 2)
+If you're using CtrlP without NERDTree, there is an even more elegant
+solution:
 >
-    autocmd FileType startify setlocal buftype=
+    let g:ctrlp_reuse_window = 'startify'
 <
 ------------------------------------------------------------------------------