summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
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