From c9495a62584d612fb8538e56b61aa6914eda2264 Mon Sep 17 00:00:00 2001 From: xfy Date: Sun, 1 Jun 2025 21:16:10 +0800 Subject: [PATCH] change keymap --- lua/config/keymaps.lua | 2 +- lua/plugins/hop.lua | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lua/config/keymaps.lua b/lua/config/keymaps.lua index 9d68eb0..c5032b8 100644 --- a/lua/config/keymaps.lua +++ b/lua/config/keymaps.lua @@ -34,7 +34,7 @@ map("n", "tL", "Trouble loclist toggle", { desc = "Location Lis map("n", "tQ", "Trouble qflist toggle", { desc = "Quickfix List" }) -- snacks picker -map("n", "b", function() +map("n", "", function() Snacks.picker.buffers({ finder = "buffers", format = "buffer", diff --git a/lua/plugins/hop.lua b/lua/plugins/hop.lua index f2d28f3..c4b4487 100644 --- a/lua/plugins/hop.lua +++ b/lua/plugins/hop.lua @@ -22,15 +22,15 @@ return { desc = "Hop motion search in current line before cursor", mode = { "n", "v" }, }, - { - "", - function() - local hop = require("hop") - hop.hint_words({ current_line_only = false }) - end, - desc = "Hop motion search words after cursor", - mode = { "n", "v" }, - }, + -- { + -- "", + -- function() + -- local hop = require("hop") + -- hop.hint_words({ current_line_only = false }) + -- end, + -- desc = "Hop motion search words after cursor", + -- mode = { "n", "v" }, + -- }, }, opts = { keys = "etovxqpdygfblzhckisuran",