12 August 2023

How to install NERDTree for vim? | How to always display a file explorer at the left side in vim?

https://github.com/preservim/nerdtree#readme

How to install NERDTree?

Pathogen Pathogen is more of a runtime path manager than a plugin manager. You must clone the plugins' repositories yourself to a specific location, and Pathogen makes sure they are available in Vim.
  1. In the terminal,
    git clone https://github.com/preservim/nerdtree.git ~/.vim/bundle/nerdtree
  2. In your vimrc,
    call pathogen#infect()
    syntax on
    filetype plugin indent on
  3. Restart Vim, and run :helptags ~/.vim/bundle/nerdtree/doc/ or :Helptags.

 How to display file explorer in vim?

 :NERDTree

No comments:

Post a Comment