summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorShubham Saini <shubham6405@gmail.com>2020-03-20 13:03:12 +0000
committerShubham Saini <shubham6405@gmail.com>2020-03-20 13:03:12 +0000
commit62c606d3b890bc7c00f2dbf3c7bdb5d1de56c09e (patch)
tree1429c174d6b3fed4a421448f01fb8dede722afb3 /nvim
parent854d32471a1c122c6dd9e163ddb1eac482f42248 (diff)
min
Diffstat (limited to 'nvim')
-rw-r--r--nvim/.config/nvim/init.vim3
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'
90let g:NERDTreeWinPos = "right" 90let g:NERDTreeWinPos = "right"
91map <C-n> :NERDTreeToggle<CR> 91map <C-n> :NERDTreeToggle<CR>
92nnoremap <c-p> :FZF<CR> 92nnoremap <c-p> :FZF<CR>
93autocmd StdinReadPre * let s:std_in=1
94autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
95autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
93 96
94"statusbar 97"statusbar
95hi Comment cterm=italic 98hi Comment cterm=italic