Skip to content

nvim-tree

File explorer sidebar.

Packages: nvim-tree.lua, nvim-web-devicons (icons dep).

Keymaps

Toggle

Key Action
<leader>e Toggle file tree
<leader>E Focus file tree

Inside the tree

Key Action
o / <CR> Open file
<C-v> Open in vertical split
<C-x> Open in horizontal split
s System open (macOS: opens in default app)
a Create file/dir (trailing / = dir)
d Delete
r Rename
c / x / p Copy / cut / paste
H Toggle hidden files
R Refresh tree
? Show help