Post

Set Up nvim-tree in vim plug

Set Up nvim-tree in vim plug

Steps to Set Up nvim-tree with Vim-Plug

Install nvim-tree Plugin

Add the nvim-tree plugin to your init.vim or init.lua using Vim-Plug:

1
2
3
4
5
6
call plug#begin('~/.local/share/nvim/plugged')

" Add nvim-tree plugin
Plug 'kyazdani42/nvim-tree.lua'

call plug#end()

Install the Plugin

open neovim and run

1
2
:PlugInstall

Configure nvim-tree

Add the following configuration in your init.vim or init.lua

1
2
3
4
" Basic nvim-tree setup
lua << EOF
require'nvim-tree'.setup {}
EOF

Open nvim-tree

In Neovim, open the tree view using:

1
:NvimTreeToggle
This post is licensed under CC BY 4.0 by the author.