From 9d6c98b8040171306c61bb4f8393b57720ba8083 Mon Sep 17 00:00:00 2001 From: fecet Date: Tue, 8 Aug 2023 09:03:14 +0800 Subject: [PATCH] feat: multi window support for hop --- lua/keymap/editor.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lua/keymap/editor.lua b/lua/keymap/editor.lua index 58e0ac8d6..ac213183e 100644 --- a/lua/keymap/editor.lua +++ b/lua/keymap/editor.lua @@ -72,11 +72,11 @@ local plug_map = { ["nx|gea"] = map_cr("EasyAlign"):with_desc("edit: Align with delimiter"), -- Plugin: hop - ["nv|w"] = map_cmd("HopWord"):with_noremap():with_desc("jump: Goto word"), - ["nv|j"] = map_cmd("HopLine"):with_noremap():with_desc("jump: Goto line"), - ["nv|k"] = map_cmd("HopLine"):with_noremap():with_desc("jump: Goto line"), - ["nv|c"] = map_cmd("HopChar1"):with_noremap():with_desc("jump: Goto one char"), - ["nv|cc"] = map_cmd("HopChar2"):with_noremap():with_desc("jump: Goto two chars"), + ["nv|w"] = map_cmd("HopWordMW"):with_noremap():with_desc("jump: Goto word"), + ["nv|j"] = map_cmd("HopLineMW"):with_noremap():with_desc("jump: Goto line"), + ["nv|k"] = map_cmd("HopLineMW"):with_noremap():with_desc("jump: Goto line"), + ["nv|c"] = map_cmd("HopChar1MW"):with_noremap():with_desc("jump: Goto one char"), + ["nv|cc"] = map_cmd("HopChar2MW"):with_noremap():with_desc("jump: Goto two chars"), -- Plugin: treehopper ["o|m"] = map_cu("lua require('tsht').nodes()"):with_silent():with_desc("jump: Operate across syntax tree"),