From 4811e1e4838f47d9cdd2bb304be49e22e4d8f033 Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Mon, 27 Nov 2023 15:49:10 -0500 Subject: [PATCH] Add telescope keymap for grep_string --- lua/plugins/telescope.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index 1e93344..57b8f38 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -26,5 +26,12 @@ return { end, desc = "Find Plugin File", }, + { + "8", + function() + require("telescope.bultin").grep_string() + end, + desc = "Search word under cursor", + }, }, }