From 6f97e895d65a7f7ba5d813ea65c7b4796d2bde50 Mon Sep 17 00:00:00 2001 From: Edgaru089 Date: Mon, 14 Jul 2025 17:33:17 +0800 Subject: [PATCH] vim: unmap grt --- coc-settings.json | 1 + vimrc | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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