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

Tab direction in multi-select seems reversed #3256

Closed
5 of 10 tasks
albertfgu opened this issue Apr 19, 2023 · 1 comment
Closed
5 of 10 tasks

Tab direction in multi-select seems reversed #3256

albertfgu opened this issue Apr 19, 2023 · 1 comment
Labels

Comments

@albertfgu
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'm confused which way that Tab is supposed to travel when in multi-select. Mine has always traveled down (and I double checked by removing all FZF related configuration and reinstalling), and searching through other issues this is the only one I could find which implies the same behavior: #845

However, on several other places on the internet, including blogs/tutorials and documentation for related plugins (e.g. wfxr/forgit#298), it's always described that Tab goes up in multi-select.

Neither the manual man fzf nor the README seem to describe what the intended behavior is (that I could find). For example, the README just states "On multi-select mode (-m), TAB and Shift-TAB to mark multiple items".

Which way is it supposed to go by default?

@junegunn
Copy link
Owner

You're correct. By default, tab goes down, shift-tab goes up regardless of the --layout option.

carlfriedrich added a commit to carlfriedrich/forgit that referenced this issue Apr 26, 2023
carlfriedrich added a commit to carlfriedrich/forgit that referenced this issue Apr 26, 2023
carlfriedrich added a commit to wfxr/forgit that referenced this issue Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants