From 38050c3689ba62bfe3e13834afadd7f92205c8b8 Mon Sep 17 00:00:00 2001 From: QQ <1770362456@qq.com> Date: Sat, 11 Feb 2023 14:31:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0coc-explorer=E6=8F=92?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/Plugin/coc.lua | 5 ++--- lua/core/keymap.lua | 14 +++++++++----- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/lua/Plugin/coc.lua b/lua/Plugin/coc.lua index 13bfd6b..43cde1c 100644 --- a/lua/Plugin/coc.lua +++ b/lua/Plugin/coc.lua @@ -75,13 +75,12 @@ keyset("x", "ac", "(coc-classobj-a)", opts) keyset("o", "ac", "(coc-classobj-a)", opts) -- explorer -keyset("n", "", ":CocCommand explorer") +keyset("n", "", ":CocCommand explorer") -- translator keyset("n", "tt", "(coc-translator-p)") keyset("v", "tt", "(coc-translator-pv)") -- translator-releader keyset("n", "tr", "(coc-translator-r)") keyset("v", "tr", "(coc-translator-rv)") - - keyset("n", "ol", ":CocOutline") + diff --git a/lua/core/keymap.lua b/lua/core/keymap.lua index 308ded0..d58208a 100644 --- a/lua/core/keymap.lua +++ b/lua/core/keymap.lua @@ -42,16 +42,15 @@ G.map({ {'n', '', ':res +5', opt}, {'n', '', ':vertical resize -5', opt}, {'n', '', ':vertical resize +5', opt}, - +}) -- lazygit +G.map({ {'n', 'g', ':w:LazyGit', {}}, - ---EasyAlign -{"v", "ga", ":EasyAlign", {}}, - }) + + G.map({ -- easymotion {'v', 's', '(easymotion-bd-f)', {}}, @@ -60,6 +59,11 @@ G.map({ }) +--EasyAlign +G.map({ +{"v", "ga", ":EasyAlign", {}}, +}) +