diff options
author | Shubham Saini <pryr@pryr.xyz> | 2020-08-26 11:37:58 +0000 |
---|---|---|
committer | Shubham Saini <pryr@pryr.xyz> | 2020-08-26 11:37:58 +0000 |
commit | 19c7eed6234eda228319c9a34748678942f75de8 (patch) | |
tree | d25acb7b6095e3377bc82e4b10c1fe9c88a0bf78 /nvim | |
parent | 64f779a7f645dda8f5f6e0b807250abec9eaa768 (diff) |
fixed nerdtree & added coc-sh
Diffstat (limited to 'nvim')
-rw-r--r-- | nvim/.config/nvim/init.vim | 3 |
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 |
55 | let g:NERDTreeWinPos = "right" | 55 | let g:NERDTreeWinPos = "right" |
56 | map <C-i> :NERDTreeToggle<CR> | 56 | map <leader>n :NERDTreeToggle<CR> |
57 | autocmd StdinReadPre * let s:std_in=1 | 57 | autocmd StdinReadPre * let s:std_in=1 |
58 | autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif | 58 | autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif |
59 | autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif | 59 | autocmd 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 | ||