更新coc-explorer插件

This commit is contained in:
QQ 2023-02-11 14:31:48 +08:00
parent 537bc1a03e
commit 38050c3689
2 changed files with 11 additions and 8 deletions

View File

@ -75,13 +75,12 @@ keyset("x", "ac", "<Plug>(coc-classobj-a)", opts)
keyset("o", "ac", "<Plug>(coc-classobj-a)", opts)
-- explorer
keyset("n", "<c-n>", ":CocCommand explorer<CR>")
keyset("n", "<c-e>", ":CocCommand explorer<CR>")
-- 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)")
keyset("n", "<leader>ol", ":CocOutline<CR>")

View File

@ -42,16 +42,15 @@ G.map({
{'n', '<down>', ':res +5<CR>', opt},
{'n', '<left>', ':vertical resize -5<CR>', opt},
{'n', '<right>', ':vertical resize +5<CR>', opt},
})
-- lazygit
G.map({
{'n', '<leader>g', ':w<CR>:LazyGit<CR>', {}},
--EasyAlign
{"v", "ga", ":EasyAlign<CR>", {}},
})
G.map({
-- easymotion
{'v', 's', '<Plug>(easymotion-bd-f)', {}},
@ -60,6 +59,11 @@ G.map({
})
--EasyAlign
G.map({
{"v", "ga", ":EasyAlign<CR>", {}},
})