Can't search for Foo::Bar using grep_word #1942
-
Visually selecting something like Looks like this was supposed to fix it. Or is it a different case? |
Beta Was this translation helpful? Give feedback.
Answered by
drowning-cat
Jun 3, 2025
Replies: 1 comment
-
Because you need to create keymaps properly. vim.keymap.set({ "n", "x" }, "<leader>sw", function() Snacks.picker.grep_word() end, { desc = "Visual selection or word" }) keys = {
{ "<leader>sw", mode = { "n", "x" }, function() Snacks.picker.grep_word() end, desc = "Visual selection or word" },
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Seybo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Because you need to create keymaps properly.