mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 03:43:50 -05:00
Add a NERDTreeCWD command to change tree root to CWD
This commit is contained in:
@@ -137,6 +137,10 @@ The following features and functionality are provided by the NERD tree:
|
||||
|
||||
In any case, the current file is revealed and the cursor is placed on it.
|
||||
|
||||
:NERDTreeCWD *:NERDTreeCWD*
|
||||
Change tree root to current directory. If no NERD tree exists for this
|
||||
tab, a new tree will be opened.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
2.2. Bookmarks *NERDTreeBookmarks*
|
||||
|
||||
@@ -247,6 +251,7 @@ r.......Recursively refresh the current directory................|NERDTree-r|
|
||||
R.......Recursively refresh the current root.....................|NERDTree-R|
|
||||
m.......Display the NERD tree menu...............................|NERDTree-m|
|
||||
cd......Change the CWD to the dir of the selected node...........|NERDTree-cd|
|
||||
CD......Change tree root to the CWD..............................|NERDTree-CD|
|
||||
|
||||
I.......Toggle whether hidden files displayed....................|NERDTree-I|
|
||||
f.......Toggle whether the file filters are used.................|NERDTree-f|
|
||||
@@ -514,6 +519,14 @@ Applies to: files and directories.
|
||||
|
||||
Change vims current working directory to that of the selected node.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
*NERDTree-CD*
|
||||
Default key: CD
|
||||
Map option: NERDTreeMapCWD
|
||||
Applies to: no restrictions.
|
||||
|
||||
Change tree root to vims current working directory.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
*NERDTree-I*
|
||||
Default key: I
|
||||
|
||||
Reference in New Issue
Block a user