Skip to content

Commit

Permalink
feat: multi window support for hop (ayamir#936)
Browse files Browse the repository at this point in the history
  • Loading branch information
fecet authored and singlemancombat committed Aug 8, 2023
1 parent bf27b07 commit 02a2850
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lua/keymap/editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ local plug_map = {
["nx|gea"] = map_cr("EasyAlign"):with_desc("edit: Align with delimiter"),

-- Plugin: hop
["n|<leader>w"] = map_cu("HopWord"):with_noremap():with_desc("jump: Goto word"),
["n|<leader>j"] = map_cu("HopLine"):with_noremap():with_desc("jump: Goto line"),
["n|<leader>k"] = map_cu("HopLine"):with_noremap():with_desc("jump: Goto line"),
["n|<leader>c"] = map_cu("HopChar1"):with_noremap():with_desc("jump: Goto one char"),
["n|<leader>cc"] = map_cu("HopChar2"):with_noremap():with_desc("jump: Goto two chars"),
["nv|<leader>w"] = map_cmd("<Cmd>HopWordMW<CR>"):with_noremap():with_desc("jump: Goto word"),
["nv|<leader>j"] = map_cmd("<Cmd>HopLineMW<CR>"):with_noremap():with_desc("jump: Goto line"),
["nv|<leader>k"] = map_cmd("<Cmd>HopLineMW<CR>"):with_noremap():with_desc("jump: Goto line"),
["nv|<leader>c"] = map_cmd("<Cmd>HopChar1MW<CR>"):with_noremap():with_desc("jump: Goto one char"),
["nv|<leader>cc"] = map_cmd("<Cmd>HopChar2MW<CR>"):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"),
Expand Down

0 comments on commit 02a2850

Please # to comment.