Skip to content

Commit

Permalink
Plugins NERDTree and NERDTree Tabs
Browse files Browse the repository at this point in the history
These two plugins let you view your project's files in a sidebar similar
to Sublime or your favorite IDE.

There are two plugins here:

- NERDTree is responsible for opening up the project tree browser.
- NERDTree Tabs is responsible for opening up the same project tree
  browser on every tab.

Use \t to open or close the sidebar. For more usage information, press ?
inside the NERDTree sidebar, and read the project documentation:

- https://github.com/scrooloose/nerdtree
- https://github.com/jistr/vim-nerdtree-tabs
  • Loading branch information
jez committed Nov 12, 2016
1 parent a1f4055 commit 5fd6dc6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions vimrc.vim
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Plugin 'tomasr/molokai'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'

" ----- Vim as a programmer's text editor -----------------------------
Plugin 'scrooloose/nerdtree'
Plugin 'jistr/vim-nerdtree-tabs'

call vundle#end()

filetype plugin indent on
Expand Down Expand Up @@ -63,3 +67,10 @@ let g:airline#extensions#tabline#enabled = 1
" Use the solarized theme for the Airline status bar
let g:airline_theme='solarized'

" ----- jistr/vim-nerdtree-tabs -----
" Open/close NERDTree Tabs with \t
nmap <silent> <leader>t :NERDTreeTabsToggle<CR>
" To have NERDTree always open on startup
let g:nerdtree_tabs_open_on_console_startup = 1


4 comments on commit 5fd6dc6

@jez
Copy link
Owner Author

@jez jez commented on 5fd6dc6 Nov 13, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Alir3z4
Copy link

@Alir3z4 Alir3z4 commented on 5fd6dc6 Oct 5, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was always wondering how to open the sidebar, thank you <3

@Gnasch1972
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't seem to get this to work. If if press the '' button it does nothing. It just make the Linux 'Can't do that' noise. What am I doing wrong? How do I open NerdTree?

@jamesfwei
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\t isn't the tab character it's the "" character followed by "t".

Please sign in to comment.