diff options
Diffstat (limited to 'nvim')
-rw-r--r-- | nvim/.config/nvim/init.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index ce38e7c..ee74f70 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim | |||
@@ -90,6 +90,9 @@ let g:keysound_theme = 'default' | |||
90 | let g:NERDTreeWinPos = "right" | 90 | let g:NERDTreeWinPos = "right" |
91 | map <C-n> :NERDTreeToggle<CR> | 91 | map <C-n> :NERDTreeToggle<CR> |
92 | nnoremap <c-p> :FZF<CR> | 92 | nnoremap <c-p> :FZF<CR> |
93 | autocmd StdinReadPre * let s:std_in=1 | ||
94 | autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif | ||
95 | autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif | ||
93 | 96 | ||
94 | "statusbar | 97 | "statusbar |
95 | hi Comment cterm=italic | 98 | hi Comment cterm=italic |