|
@@ -163,3 +163,9 @@ let g:coc_snippet_prev = '<c-k>'
|
|
|
|
|
|
" Use <C-j> for both expand and jump (make expand higher priority.)
|
|
" Use <C-j> for both expand and jump (make expand higher priority.)
|
|
imap <C-j> <Plug>(coc-snippets-expand-jump)
|
|
imap <C-j> <Plug>(coc-snippets-expand-jump)
|
|
|
|
+
|
|
|
|
+augroup MyCocExplorer
|
|
|
|
+ autocmd!
|
|
|
|
+ autocmd VimEnter * sil! au! FileExplorer *
|
|
|
|
+ autocmd BufEnter * let d = expand('%') | if isdirectory(d) | silent! bd | exe 'CocCommand explorer ' . d | endif
|
|
|
|
+augroup END
|