Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to output match index / column. [feature suggestion] #3520

Open
5 of 10 tasks
blueforesticarus opened this issue Nov 30, 2023 · 0 comments
Open
5 of 10 tasks

Option to output match index / column. [feature suggestion] #3520

blueforesticarus opened this issue Nov 30, 2023 · 0 comments

Comments

@blueforesticarus
Copy link

  • I have read through the manual page (man fzf)
  • I have the latest version of fzf
  • I have searched through the existing issues

Info

  • OS
    • Linux
    • Mac OS X
    • Windows
    • Etc.
  • Shell
    • bash
    • zsh
    • fish

Problem / Steps to reproduce

I am using fzf in --filter mode to find the location of some text in a file. (First annotated with line numbers via ripgrep, plus some black magic to work on paragraphs instead of lines using --read0 thought that is tangential to this issue).
It would be useful to be able to output the match info (column no / indices, possibly line number as well).

My specific usecase is trying to make a script to open a document in vim to a specific location (when the text I'm looking for has been altered by pandoc and needs fuzzy matching).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant