Add back global grep search keybinding
This commit is contained in:
parent
786098b309
commit
17def3e3ac
2
init.lua
2
init.lua
|
|
@ -390,7 +390,7 @@ dap.configurations.c = {
|
||||||
require("which-key").add ({
|
require("which-key").add ({
|
||||||
--{ "<C-s>", "<cmd>Telescope live_grep<cr>" , desc = "Swiper", mode = "n" },
|
--{ "<C-s>", "<cmd>Telescope live_grep<cr>" , desc = "Swiper", mode = "n" },
|
||||||
{ "/", function () Snacks.picker.lines() end , desc = "Swiper", mode = "n" },
|
{ "/", function () Snacks.picker.lines() end , desc = "Swiper", mode = "n" },
|
||||||
{ "<C-s>", function () Snacks.picker.lines() end , desc = "Swiper", mode = "n" },
|
{ "<C-s>", function () Snacks.picker.grep() end , desc = "Swiper", mode = "n" },
|
||||||
|
|
||||||
-- This does not allow you to make a new file only search existing, but good enough for now.
|
-- This does not allow you to make a new file only search existing, but good enough for now.
|
||||||
--{ "<leader><C-f>", "<cmd>Telescope find_files find_command=rg,--ignore,--hidden,--files<cr>" , desc = "Find File", mode = "n" },
|
--{ "<leader><C-f>", "<cmd>Telescope find_files find_command=rg,--ignore,--hidden,--files<cr>" , desc = "Find File", mode = "n" },
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue