-
Hi! Is there an option to grep cWORD under cursor only in current buffer? |
Beta Was this translation helpful? Give feedback.
Answered by
ibhagwan
Jun 13, 2025
Replies: 1 comment 4 replies
-
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you want grep and not blines you can use
grep_curbuf search=<cword>
, I have such a mapping in my config:https://github.com/ibhagwan/nvim-lua/blob/92866bd9a6859bda3c5c2bfe7f981f2bdec6de62/lua/plugins/fzf-lua/mappings.lua#L64