Skip to content

Simplify the fzf result pane #1881

Closed Answered by ibhagwan
jbleuzen asked this question in Q&A
Discussion options

You must be logged in to vote

Don't need to change the rg_opts, use --with-nth to hide anything after the ::

:FzfLua live_grep fzf_opts.--delimiter=: fzf_opts.--with-nth=1..2

If you want this by default add this to your grep setup:

grep = {
  fzf_opts = {
    ["--delimiter"] = ":",
    ["--with-nth"] = "1..2",
  }
}

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jbleuzen
Comment options

You must be logged in to vote
1 reply
@ibhagwan
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
2 participants