File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -261,6 +261,7 @@ require'nvim-tree'.setup { -- BEGIN_DEFAULT_OPTS
261
261
- Double left click acts like ` <CR> `
262
262
- Double right click acts like ` <C-]> `
263
263
- ` W ` will collapse the whole tree
264
+ - ` E ` will expand the whole tree. Be aware this might hang neovim for a while if running on a big folder (such as home dir or root dir).
264
265
- ` S ` will prompt the user to enter a path and then expands the tree to match the path
265
266
- ` . ` will enter vim command mode with the file the cursor is on
266
267
- ` C-k ` will toggle a popup with file infos about the file under the cursor
@@ -331,6 +332,7 @@ local list = {
331
332
{ key = " q" , action = " close" },
332
333
{ key = " g?" , action = " toggle_help" },
333
334
{ key = " W" , action = " collapse_all" },
335
+ { key = " E" , action = " expand_all" },
334
336
{ key = " S" , action = " search_node" },
335
337
{ key = " <C-k>" , action = " toggle_file_info" },
336
338
{ key = " ." , action = " run_file_command" }
Original file line number Diff line number Diff line change @@ -762,6 +762,8 @@ INFORMATIONS *nvim-tree-info*
762
762
- Double left click acts like <CR>
763
763
- Double right click acts like <C-]>
764
764
- `W` will collapse the whole tree
765
+ - `E` will expand the whole tree. Be aware this might hang neovim for a while
766
+ if running on a big folder (such as home dir or root dir).
765
767
- `S ` will prompt the user to enter a path and then expands the tree to match the path
766
768
- `.` will enter vim command mode with the file the cursor is on
767
769
- `C- k ` will toggle a popup with file infos about the file under the cursor
@@ -807,6 +809,7 @@ Defaults to:
807
809
{ key = "q", action = "close" },
808
810
{ key = "g?", action = "toggle_help" },
809
811
{ key = 'W', action = "collapse_all" },
812
+ { key = 'E', action = "expand_all" },
810
813
{ key = "S", action = "search_node" },
811
814
{ key = ".", action = "run_file_command" },
812
815
{ key = "<C-k>", action = "toggle_file_info" }
You can’t perform that action at this time.
0 commit comments