乱改配置

This commit is contained in:
newbieQQ 2023-05-08 23:53:52 +08:00
parent f1eed0e101
commit 9bfade813d

View File

@ -5,13 +5,12 @@ G.g.coc_user_config = G.fn.stdpath('config') .. 'lua/Plugin/coc-settings.json'
G.g['coc_global_extensions'] = {
"coc-clangd",
"coc-python",
"coc-json",
"coc-lua",
"coc-json",
"coc-translator",
"coc-yank",
"coc-pairs",
"coc-lists",
}
-- Having longer updatetime (default is 4000 ms = 4s) leads to noticeable
@ -78,6 +77,7 @@ keyset("o", "ac", "<Plug>(coc-classobj-a)", opts)
-- translator
keyset("n", "<leader>tt", "<Plug>(coc-translator-p)")
keyset("v", "<leader>tt", "<Plug>(coc-translator-pv)")
-- translator-releader
keyset("n", "<leader>tr", "<Plug>(coc-translator-r)")
keyset("v", "<leader>tr", "<Plug>(coc-translator-rv)")