Browse Source

Doc: NERDTreeTabsClose -> NERDTreeClose

Fixes https://github.com/mhinz/vim-startify/issues/461
Marco Hinz 4 years ago
parent
commit
85ca0a103b
1 changed files with 1 additions and 4 deletions
  1. 1 4
      doc/startify.txt

+ 1 - 4
doc/startify.txt

@@ -329,10 +329,7 @@ This is a list of commands to be executed before saving a session.
 
 Example:
 >
-    let g:startify_session_before_save = [
-        \ 'echo "Cleaning up before saving.."',
-        \ 'silent! NERDTreeTabsClose'
-        \ ]
+    let g:startify_session_before_save = [ 'silent! tabdo NERDTreeClose' ]
 <
 ------------------------------------------------------------------------------
                                                 *g:startify_session_persistence*