diff --git a/lua/keymap/editor.lua b/lua/keymap/editor.lua index 24f365e5d..b98235aaf 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 - ["n|w"] = map_cu("HopWord"):with_noremap():with_desc("jump: Goto word"), - ["n|j"] = map_cu("HopLine"):with_noremap():with_desc("jump: Goto line"), - ["n|k"] = map_cu("HopLine"):with_noremap():with_desc("jump: Goto line"), - ["n|c"] = map_cu("HopChar1"):with_noremap():with_desc("jump: Goto one char"), - ["n|cc"] = map_cu("HopChar2"):with_noremap():with_desc("jump: Goto two chars"), + ["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"), -- Plugin: treehopper ["o|m"] = map_cu("lua require('tsht').nodes()"):with_silent():with_desc("jump: Operate across syntax tree"),