diff --git a/lua/keymap/tool.lua b/lua/keymap/tool.lua index 1c648b239..f21bdfa5e 100644 --- a/lua/keymap/tool.lua +++ b/lua/keymap/tool.lua @@ -102,7 +102,9 @@ local plug_map = { :with_noremap() :with_silent() :with_desc("tool: Find patterns"), - ["v|fs"] = map_cu("Telescope grep_string") + ["v|fs"] = map_callback(function() + require("telescope-live-grep-args.shortcuts").grep_visual_selection() + end) :with_noremap() :with_silent() :with_desc("tool: Find word under cursor"),