change the H mapping (toggle hidden files) to I

This commit is contained in:
Martin Grenfell 2008-12-27 11:34:02 +13:00
parent 7f6603ea4a
commit 39fc42d1cf
2 changed files with 6 additions and 7 deletions

View File

@ -231,7 +231,7 @@ R.......Recursively refresh the current root.....................|NERDTree-R|
m.......Display the filesystem menu..............................|NERDTree-m| m.......Display the filesystem menu..............................|NERDTree-m|
cd......Change the CWD to the dir of the selected node...........|NERDTree-cd| cd......Change the CWD to the dir of the selected node...........|NERDTree-cd|
H.......Toggle whether hidden files displayed....................|NERDTree-H| I.......Toggle whether hidden files displayed....................|NERDTree-I|
f.......Toggle whether the file filters are used.................|NERDTree-f| f.......Toggle whether the file filters are used.................|NERDTree-f|
F.......Toggle whether files are displayed.......................|NERDTree-F| F.......Toggle whether files are displayed.......................|NERDTree-F|
B.......Toggle whether the bookmark table is displayed...........|NERDTree-B| B.......Toggle whether the bookmark table is displayed...........|NERDTree-B|
@ -477,13 +477,12 @@ Applies to: files and directories.
Display the filesystem menu. See |NERDTreeFilesysMenu| for details. Display the filesystem menu. See |NERDTreeFilesysMenu| for details.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
*NERDTree-H* *NERDTree-I*
Default key: H Default key: I
Map option: NERDTreeMapToggleHidden Map option: NERDTreeMapToggleHidden
Applies to: no restrictions. Applies to: no restrictions.
Toggles whether hidden files are displayed. Hidden files are any Toggles whether hidden files (i.e. "dot files") are displayed.
file/directory that starts with a "."
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
*NERDTree-f* *NERDTree-f*
@ -823,7 +822,7 @@ Values: 0 or 1.
Default: 0. Default: 0.
This option tells vim whether to display hidden files by default. This option This option tells vim whether to display hidden files by default. This option
can be dynamically toggled, per tree, with the |NERDTree-H| mapping. Use one can be dynamically toggled, per tree, with the |NERDTree-I| mapping. Use one
of the follow lines to set this option: > of the follow lines to set this option: >
let NERDTreeShowHidden=0 let NERDTreeShowHidden=0
let NERDTreeShowHidden=1 let NERDTreeShowHidden=1

View File

@ -124,7 +124,7 @@ call s:initVariable("g:NERDTreeMapRefreshRoot", "R")
call s:initVariable("g:NERDTreeMapToggleBookmarks", "B") call s:initVariable("g:NERDTreeMapToggleBookmarks", "B")
call s:initVariable("g:NERDTreeMapToggleFiles", "F") call s:initVariable("g:NERDTreeMapToggleFiles", "F")
call s:initVariable("g:NERDTreeMapToggleFilters", "f") call s:initVariable("g:NERDTreeMapToggleFilters", "f")
call s:initVariable("g:NERDTreeMapToggleHidden", "H") call s:initVariable("g:NERDTreeMapToggleHidden", "I")
call s:initVariable("g:NERDTreeMapUpdir", "u") call s:initVariable("g:NERDTreeMapUpdir", "u")
call s:initVariable("g:NERDTreeMapUpdirKeepOpen", "U") call s:initVariable("g:NERDTreeMapUpdirKeepOpen", "U")