NERDTree
The NERD tree allows you to explore your filesystem and to open files and directories. It presents the filesystem to you in the form of a tree which you manipulate with the keyboard and/or mouse. It also allows you to perform simple filesystem operations.
How to use
Command
-
r
- Refresh cursor directory.
-
R
- Refresh current root directory.
Startup setting
vim 시작시 자동으로 NERDTree를 실행하고 싶은 경우 아래 코드를 vimrc에 붙여넣으면 된다.
" Start NERDTree
autocmd VimEnter * NERDTree
" Go to previous (last accessed) window.
autocmd VimEnter * wincmd p
Options
-
let g:NERDTreeWinPos = "right"
- 오른쪽으로 출력하고 싶은 경우 아래 코드를 vimrc에 붙여넣으면 된다.
-
let NERDTreeIgnore = ['\.pyc$']
- 무시할 파일 목록을 열거한다.
See also
Favorite site
- NERDTree project site
- NERDTree vim script site
- 파일 관리자 대체 플러그인 NERDTree
- NERDTree (How to use)
- vim에서 trinity를 사용 중인데요 nerdtree가 오류가 너무 심합니다
- Vimmers, You Don’t Need NerdTree
- Stackoverflow: How do you add NERDTree to your vimrc?
- NERDTree 4.2.0 디렉토리가 안열리는 경우 1
References
-
NERDTree가 출력하는 화살표 문자가 vim에서 지원되지 않는 경우
let g:NERDTreeDirArrows=0
입력. ↩