adjust the quickhelp for primary vs secondary trees

This commit is contained in:
Martin Grenfell 2008-12-18 23:23:28 +13:00
parent 9fc7fb8d51
commit 8d20ae913a

View File

@ -2016,8 +2016,14 @@ function! s:dumpHelp()
let @h=@h."\" ============================\n"
let @h=@h."\" File node mappings~\n"
let @h=@h."\" ". (g:NERDTreeMouseMode == 3 ? "single" : "double") ."-click,\n"
let @h=@h."\" ". g:NERDTreeMapActivateNode .": open in prev window\n"
let @h=@h."\" ". g:NERDTreeMapPreview .": preview\n"
if b:NERDTreeType == "primary"
let @h=@h."\" ". g:NERDTreeMapActivateNode .": open in prev window\n"
else
let @h=@h."\" ". g:NERDTreeMapActivateNode .": open in current window\n"
endif
if b:NERDTreeType == "primary"
let @h=@h."\" ". g:NERDTreeMapPreview .": preview\n"
endif
let @h=@h."\" ". g:NERDTreeMapOpenInTab.": open in new tab\n"
let @h=@h."\" ". g:NERDTreeMapOpenInTabSilent .": open in new tab silently\n"
let @h=@h."\" middle-click,\n"