summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorShubham Saini <pryr@pryr.xyz>2020-08-26 11:37:58 +0000
committerShubham Saini <pryr@pryr.xyz>2020-08-26 11:37:58 +0000
commit19c7eed6234eda228319c9a34748678942f75de8 (patch)
treed25acb7b6095e3377bc82e4b10c1fe9c88a0bf78 /nvim
parent64f779a7f645dda8f5f6e0b807250abec9eaa768 (diff)
fixed nerdtree & added coc-sh
Diffstat (limited to 'nvim')
-rw-r--r--nvim/.config/nvim/init.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim
index fc61186..1184e2d 100644
--- a/nvim/.config/nvim/init.vim
+++ b/nvim/.config/nvim/init.vim
@@ -53,7 +53,7 @@ imap <C-P> <Plug>BujoCheckinsert
53 53
54" nerdtree 54" nerdtree
55let g:NERDTreeWinPos = "right" 55let g:NERDTreeWinPos = "right"
56map <C-i> :NERDTreeToggle<CR> 56map <leader>n :NERDTreeToggle<CR>
57autocmd StdinReadPre * let s:std_in=1 57autocmd StdinReadPre * let s:std_in=1
58autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif 58autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
59autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif 59autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
@@ -156,6 +156,7 @@ let g:coc_global_extensions = [
156 \ 'coc-json', 156 \ 'coc-json',
157 \ 'coc-clangd', 157 \ 'coc-clangd',
158 \ 'coc-python', 158 \ 'coc-python',
159 \ 'coc-sh',
159 \ 'coc-vimtex' 160 \ 'coc-vimtex'
160 \ ] 161 \ ]
161 162