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

A way to set preview to starting lines #52

Open
kkharji opened this issue May 20, 2022 · 4 comments
Open

A way to set preview to starting lines #52

kkharji opened this issue May 20, 2022 · 4 comments

Comments

@kkharji
Copy link

kkharji commented May 20, 2022

Dear @sainnhe, Thanks for your amazing work on tmux-fzf. I really enjoy using it.

I'm having a preview issue since I first started using the tmux-fzf, that is preview starts in the middle or by the end instead the first line.

Is there away you know of or configuration I missed to make preview start from the first lines

Thanks

@sainnhe
Copy link
Owner

sainnhe commented May 20, 2022

It's controlled by :follow option.

fzf_preview_window_follow=":follow" # :follow option is only available in fzf >= 0.24.4

Try to upgrade your fzf.

@kkharji
Copy link
Author

kkharji commented May 20, 2022

🤔 I believe my Tmux is up to date no? 3.2a also fzf is 0.30

my fzf opts are

[
           "-p" "-w" "70%" "-h" "50%" "-m"
             "--height 60%"
            "--preview-window=right:60%"
            "--bind='ctrl-d:preview-half-page-down'"
            "--bind='ctrl-u:preview-half-page-up'"
            "--bind='ctrl-space:toggle-preview'"
            "--bind='alt-space:toggle-preview'"
            "--bind=',:toggle-preview'"
            "--preview-window=right:65%:nocycle:nofollow"
            "--reverse"
            "--scroll-off=8"
            "--cycle"
            "--no-info"
            "--no-bold"
            "--border=rounded"
            "--preview-window=:nofollow"
          ]

@sainnhe
Copy link
Owner

sainnhe commented May 20, 2022

You set it to nofollow

"--preview-window=:nofollow"

@kkharji
Copy link
Author

kkharji commented May 20, 2022

Yah I added that thinking it would changed it and show first lines. but didn't have any effect.

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

2 participants