diff --git a/coc-settings.json b/coc-settings.json index f66a050..bf9611e 100644 --- a/coc-settings.json +++ b/coc-settings.json @@ -6,6 +6,7 @@ "list.maxPreviewHeight": 16, "list.floatPreview": true, "list.source.files.filterByName": true, + "list.source.files.defaultAction": "tabe", "go.goplsPath": "/usr/bin/gopls", "go.goplsUseDaemon": true, "go.goplsOptions": { diff --git a/vimrc b/vimrc index 1fc6b7a..2c6ea92 100644 --- a/vimrc +++ b/vimrc @@ -259,6 +259,7 @@ nunmap gri nunmap grr nunmap gra nunmap grn +nunmap grt " Custom list invocation "let g:coc_enable_locationlist = 0 @@ -351,7 +352,7 @@ set t_8b=[48:2::%lu:%lu:%lum command -nargs=* C !g++ %:p command -nargs=* CR rightb 15split +term\ g++\ \ %:p\ &&\ ./a.out command R rightb 15split +term\ ./a.out -command! -nargs=* G CocList --normal --auto-preview grep -folder +command! -nargs=* G CocList --normal --auto-preview grep -smartcase -folder command! -nargs=* F CocList --auto-preview files -folder