From 14b1cdd001d1a3497479db3b4dcaebfe8fa9ef8d Mon Sep 17 00:00:00 2001 From: Marcelo Jacobus Date: Sun, 13 Apr 2025 12:48:49 -0300 Subject: [PATCH] Disable some easy motion key mappings --- lua/plugins/easy-motion.lua | 52 ------------------------------------- 1 file changed, 52 deletions(-) diff --git a/lua/plugins/easy-motion.lua b/lua/plugins/easy-motion.lua index 073ed25..7656b96 100644 --- a/lua/plugins/easy-motion.lua +++ b/lua/plugins/easy-motion.lua @@ -27,57 +27,5 @@ return { mode = { "n", "x", "o" }, desc = "Jump to character (EasyMotion-like)", }, - { - "f", - function() - require("hop").hint_char1({ - direction = require("hop.hint").HintDirection.AFTER_CURSOR, - current_line_only = true, - }) - end, - mode = { "n", "x", "o" }, - desc = "Hop forward to char", - }, - - -- EasyMotion-style `F` search (backward, current line only) - { - "F", - function() - require("hop").hint_char1({ - direction = require("hop.hint").HintDirection.BEFORE_CURSOR, - current_line_only = true, - }) - end, - mode = { "n", "x", "o" }, - desc = "Hop backward to char", - }, - - -- `t` behaves like `f` but stops before the target character (forward) - { - "t", - function() - require("hop").hint_char1({ - direction = require("hop.hint").HintDirection.AFTER_CURSOR, - current_line_only = true, - hint_offset = -1, - }) - end, - mode = { "n", "x", "o" }, - desc = "Hop forward before char", - }, - - -- `T` behaves like `F` but stops before the target character (backward) - { - "T", - function() - require("hop").hint_char1({ - direction = require("hop.hint").HintDirection.BEFORE_CURSOR, - current_line_only = true, - hint_offset = 1, - }) - end, - mode = { "n", "x", "o" }, - desc = "Hop backward before char", - }, }, }