diff --git a/plugins/ux/hop-nvim.lua b/plugins/ux/hop-nvim.lua index 3359982..45b10b4 100644 --- a/plugins/ux/hop-nvim.lua +++ b/plugins/ux/hop-nvim.lua @@ -7,26 +7,26 @@ require("hop").setup({}) local hint = require("hop.hint") -vim.keymap.set("", "f", function() +vim.keymap.set("", "hf", function() hop.hint_char1({ direction = hint.HintDirection.AFTER_CURSOR, current_line_only = true, }) end) -vim.keymap.set("", "F", function() +vim.keymap.set("", "hF", function() hop.hint_char1({ direction = hint.HintDirection.BEFORE_CURSOR, current_line_only = true, }) end) -vim.keymap.set("", "t", function() +vim.keymap.set("", "ht", function() hop.hint_char1({ direction = hint.HintDirection.AFTER_CURSOR, current_line_only = true, hint_offset = -1, }) end) -vim.keymap.set("", "T", function() +vim.keymap.set("", "hT", function() hop.hint_char1({ direction = hint.HintDirection.BEFORE_CURSOR, current_line_only = true, @@ -34,8 +34,8 @@ vim.keymap.set("", "T", function() }) end) -vim.keymap.set("n", "hc", "HopChar1") -vim.keymap.set("n", "hw", "HopWord") -vim.keymap.set("n", "hp", "HopPattern") -vim.keymap.set("n", "hl", "HopLine") -vim.keymap.set("n", "hv", "HopVertical") +vim.keymap.set("", "hc", "HopChar1") +vim.keymap.set("", "hw", "HopWord") +vim.keymap.set("", "hp", "HopPattern") +vim.keymap.set("", "hl", "HopLine") +vim.keymap.set("", "hv", "HopVertical")