diff --git a/F.A.Q..md b/F.A.Q..md index a0cac49..94485ad 100644 --- a/F.A.Q..md +++ b/F.A.Q..md @@ -4,7 +4,7 @@ Press `w`. Also you can switch between windows faster by their direction: -``` +```vim " Switch between different windows by their direction` noremap j noremap 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: ```vim 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 ``` \ No newline at end of file