mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 19:33:50 -05:00
Move all questions to the FAQ page.
@@ -4,7 +4,7 @@ Press `<C-W>w`.
|
|||||||
|
|
||||||
Also you can switch between windows faster by their direction:
|
Also you can switch between windows faster by their direction:
|
||||||
|
|
||||||
```
|
```vim
|
||||||
" Switch between different windows by their direction`
|
" Switch between different windows by their direction`
|
||||||
noremap <C-j> <C-w>j
|
noremap <C-j> <C-w>j
|
||||||
noremap <C-k> <C-w>k
|
noremap <C-k> <C-w>k
|
||||||
@@ -40,4 +40,10 @@ autocmd BufEnter * if bufname('#') =~# "^NERD_tree_" && winnr('$') > 1 | b# | en
|
|||||||
If you are using vim-plug, you'll also need to add these lines to avoid crashes when calling vim-plug functions while the cursor is on the NERDTree window:
|
If you are using vim-plug, you'll also need to add these lines to avoid crashes when calling vim-plug functions while the cursor is on the NERDTree window:
|
||||||
```vim
|
```vim
|
||||||
let g:plug_window = 'noautocmd vertical topleft new'
|
let g:plug_window = 'noautocmd vertical topleft new'
|
||||||
|
```
|
||||||
|
|
||||||
|
## How do I show hidden files?
|
||||||
|
You can use `I` to toggle the display of dot files (also call hidden files). To display them by default when you start NERDTree, add this line to your .vimrc :
|
||||||
|
```vim
|
||||||
|
let NERDTreeShowHidden=1
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user