From c471db8eebc633278088806e313ded8a793993f6 Mon Sep 17 00:00:00 2001 From: QQ <1770362456@qq.com> Date: Fri, 24 Mar 2023 21:59:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=94=AE=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/core/keymap.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lua/core/keymap.lua b/lua/core/keymap.lua index d58208a..2361406 100644 --- a/lua/core/keymap.lua +++ b/lua/core/keymap.lua @@ -16,10 +16,11 @@ G.map({ {'v', 'H', '^', opt}, {'n', 'L', '$', opt}, {'n', 'H', '^', opt}, +{'v', '>', '>gv', opt}, +{'v', '<', '', '>>', opt}, {'n', '<', '<<', opt}, -{'n', 'Q', ':q!', opt}, {'n', '?', ':set hlsearch?', opt}, {'n', '/', ':set hlsearch/', opt}, @@ -31,7 +32,8 @@ G.map({ {'n', '', 'h', opt}, {'n', '', 'k', opt}, {'n', '', 'l', opt}, -{'n', '', ':wq', opt}, +{'n', '', ':q', opt}, +{'n', '', ':s', opt}, {'n', 'y', 'ggyG', opt},