mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-10 12:23:49 -05:00
Show file lines (#1384)
* Added showing lines of files in NERDTRee. * Added dynamic binding and documentation --------- Co-authored-by: Diallo Han <diallo@hpcnt.com>
This commit is contained in:
@@ -287,6 +287,7 @@ I........Toggle whether hidden files displayed......................|NERDTree-I|
|
||||
f........Toggle whether the file filters are used...................|NERDTree-f|
|
||||
F........Toggle whether files are displayed.........................|NERDTree-F|
|
||||
B........Toggle whether the bookmark table is displayed.............|NERDTree-B|
|
||||
L........Toggle whether the bookmark table is displayed.............|NERDTree-L|
|
||||
|
||||
q........Close the NERDTree window..................................|NERDTree-q|
|
||||
A........Zoom (maximize/minimize) the NERDTree window...............|NERDTree-A|
|
||||
@@ -601,6 +602,14 @@ Applies to: no restrictions.
|
||||
|
||||
Toggles whether the bookmarks table is displayed.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
*NERDTree-L*
|
||||
Default key: L
|
||||
Map setting: *NERDTreeMapToggleFileLiness*
|
||||
Applies to: no restrictions.
|
||||
|
||||
Toggles whether the number of lines in files is displayed.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
*NERDTree-q*
|
||||
Default key: q
|
||||
@@ -1063,6 +1072,20 @@ This setting can be toggled dynamically, per tree, with the |NERDTree-F|
|
||||
mapping and is useful for drastically shrinking the tree when you are
|
||||
navigating to a different part of the tree.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
*NERDTreeShowFilesLines*
|
||||
Values: 0 or 1.
|
||||
Default: 0.
|
||||
|
||||
If this setting is set to 1 then the NERDTree shows number of lines for each
|
||||
file.
|
||||
|
||||
This setting can be toggled dynamically, per tree, with the |NERDTree-L|
|
||||
mapping.
|
||||
Use one of the follow lines for this setting: >
|
||||
let NERDTreeShowFilesLines=0
|
||||
let NERDTreeShowFilesLines=1
|
||||
<
|
||||
------------------------------------------------------------------------------
|
||||
*NERDTreeShowHidden*
|
||||
Values: 0 or 1.
|
||||
|
||||
Reference in New Issue
Block a user