Is It possible for fzf_lua to open file on correct line #1384
-
Coming from Jetbrains and many other IDEs i've been used to when opening a file pass the line at the end with the format Has anyone manage to do this with fzf? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Unfortunately since fzf is an external process it’s a bit more involved to be able to transform the query and ignore anything past the Falling back to the full path written in the query prompt is possible but it would be useless as it would require the path be written fully and perfectly (i.e. no fuzzy search, no completion) and is therefore useless. |
Beta Was this translation helpful? Give feedback.
-
FYI, fzf 0.59 made this possible, update to 8cdf9aa and use (works with any file-type picker): :FzfLua files line_query=true Once |
Beta Was this translation helpful? Give feedback.
FYI, fzf 0.59 made this possible, update to 8cdf9aa and use (works with any file-type picker):
Once
:<line>
is detected it will be parsed and applied to both the previewer and action (enter, etc):