Skip to content
Discussion options

You must be logged in to vote

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

require "fzf-lua".grep_curbuf({ search = vim.fn.expand("<cWORD>") })

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ibhagwan
Comment options

Answer selected by skraio
@skraio
Comment options

@ibhagwan
Comment options

@skraio
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants