nvim git_grep
This commit is contained in:
+2
-1
@@ -1068,7 +1068,8 @@ local function makespec_snacks()
|
|||||||
-- search
|
-- search
|
||||||
{ "<F1>", function() Snacks.picker.help() end, desc = "Help Pages" },
|
{ "<F1>", function() Snacks.picker.help() end, desc = "Help Pages" },
|
||||||
{ "<F9>", function() Snacks.picker.colorschemes() end, desc = "Colorschemes" },
|
{ "<F9>", function() Snacks.picker.colorschemes() end, desc = "Colorschemes" },
|
||||||
{ "<M-/>", function() Snacks.picker.grep() end, desc = "Grep" },
|
{ "<M-/>", function() Snacks.picker.git_grep() end, desc = "Grep Git Files" },
|
||||||
|
{ "<M-?>", function() Snacks.picker.grep({ untracked = true }) end, desc = "Grep Files" },
|
||||||
{ "<leader>*", function() Snacks.picker.grep_word() end, desc = "Visual selection or word", mode = { "n", "x" }, },
|
{ "<leader>*", function() Snacks.picker.grep_word() end, desc = "Visual selection or word", mode = { "n", "x" }, },
|
||||||
{ "<leader>/", function() Snacks.picker.search_history() end, desc = "Search History" },
|
{ "<leader>/", function() Snacks.picker.search_history() end, desc = "Search History" },
|
||||||
{ "<leader>;", function() Snacks.picker.command_history() end, desc = "Command History" },
|
{ "<leader>;", function() Snacks.picker.command_history() end, desc = "Command History" },
|
||||||
|
|||||||
Reference in New Issue
Block a user