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

Fail to add --multi to $env:FZF_CTRL_T_OPTS #265

Open
owenstake opened this issue Mar 26, 2024 · 2 comments
Open

Fail to add --multi to $env:FZF_CTRL_T_OPTS #265

owenstake opened this issue Mar 26, 2024 · 2 comments

Comments

@owenstake
Copy link

I try to multi select items in ctrl+t. But it failed.

@kelleyma49
Copy link
Owner

--multi is on by default in order to match fzf's default behavior.

Can you share your $env: settings?

@owenstake
Copy link
Author

--multi is on by default in order to match fzf's default behavior.

Can you share your $env: settings?

@kelleyma49

$env:FZF_CTRL_T_OPTS="
    --multi
    --border --reverse --ansi --height 60%
    --prompt 'All> '
    --preview '(bat --color=always {} || cd {} && fd . --max-depth 1 --strip-cwd-prefix --color always) 2> nul'
    --header 'CTRL-D: Dirs / CTRL-F: Files / CTRL-T: Eza / CTRL-S: Scoop-UI-Apps
CTRL-O: Open / CTRL-Y: Copy / CTRL-I: Copy path / CTRL-L: Zlua'
    --bind 'ctrl-/:toggle-preview'
    --bind 'ctrl-d:change-prompt(Directories> )+reload(fd --type directory)'
    --bind 'ctrl-f:change-prompt(Files> )+reload(fd --type file )'
    --bind 'ctrl-l:change-prompt(Zlua> )+reload(powershell -c zff)'
    --bind 'ctrl-s:change-prompt(Scoop-Ui-App> )+reload(eza --color=always --sort new --reverse `"%scoopUiApps%/`")'
    --bind 'ctrl-t:change-prompt(Eza> )+reload(eza --color=always --sort new --reverse %cd% )'
    --bind 'ctrl-o:execute-silent(start %cd%/{})'
    --bind `"ctrl-i:execute-silent(powershell -c Set-Clipboard ' %cd%/{}' )`"
    --bind `"ctrl-y:execute-silent(powershell -c yww '{}')`"
    "

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