You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let $FZF_DEFAULT_OPTS="--color='gutter:#000000,bg+:#000000,prompt:#000000' --prompt='' --pointer=' ' --no-info --no-scrollbar --no-separator --reverse"
I'd also liked to know how to remove "Rg>" prompt from Rg and "~/" from FZF.
As well as this padding:
The only reason I'm doing this is to save my screen estate.
I know it's probably unfeasible, but I'm gonna ask anyway.
The text was updated successfully, but these errors were encountered:
mqrris
changed the title
[Rg] Is there a way to open file and navigate to a line without having the path and line number in the output?
[Rg] Is there a way to open the file and navigate to a line without having the path and line number in the output?
Apr 19, 2024
mqrris
changed the title
[Rg] Is there a way to open the file and navigate to a line without having the path and line number in the output?
[Rg] Is there a way to open the file and navigate to a line without having paths and line numbers in the output?
Apr 19, 2024
fzf needs to know the file path and the line number to go to the position, so you can't use an rg command that doesn't print them. However, you can hide the parts using --with-nth option like so.
man fzf
)To reproduce screenshots:
I'd also liked to know how to remove "Rg>" prompt from
Rg
and "~/" fromFZF
.As well as this padding:
The only reason I'm doing this is to save my screen estate.
I know it's probably unfeasible, but I'm gonna ask anyway.
The text was updated successfully, but these errors were encountered: