diff options
author | Shubham Saini <shubham6405@gmail.com> | 2020-03-20 13:03:12 +0000 |
---|---|---|
committer | Shubham Saini <shubham6405@gmail.com> | 2020-03-20 13:03:12 +0000 |
commit | 62c606d3b890bc7c00f2dbf3c7bdb5d1de56c09e (patch) | |
tree | 1429c174d6b3fed4a421448f01fb8dede722afb3 /nvim | |
parent | 854d32471a1c122c6dd9e163ddb1eac482f42248 (diff) |
min
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 |