diff options
-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 | ||