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

unable to bind \cd #223

Closed
txtyash opened this issue Feb 12, 2022 · 3 comments
Closed

unable to bind \cd #223

txtyash opened this issue Feb 12, 2022 · 3 comments

Comments

@txtyash
Copy link

txtyash commented Feb 12, 2022

fzf_configure_bindings --directory=\cd

won't work but, something like:

fzf_configure_bindings --directory=\ck

works fine

@PatrickF1
Copy link
Owner

PatrickF1 commented Feb 12, 2022

fzf_configure_bindings --directory=\cd works just fine for me. Can you check your terminal settings to make sure it's not being intercepted by your terminal before that key sequence makes it to fish?

If you don't find anything, can you confirm that bind \cd ls works?

@txtyash
Copy link
Author

txtyash commented Feb 14, 2022

fzf_configure_bindings --directory=\cd works just fine for me. Can you check your terminal settings to make sure it's not being intercepted by your terminal before that key sequence makes it to fish?

If you don't find anything, can you confirm that bind \cd ls works?

Oh yes. It was mapped to halfpagedown. I should've noticed.

I'm using alacritty terminal. Is there a way to use \cd for halfpagescrolldown in normal mode and for fzf in insert mode?

@txtyash txtyash closed this as completed Feb 14, 2022
@PatrickF1
Copy link
Owner

Yes, use bind --mode https://fishshell.com/docs/current/cmds/bind.html. bind it for fzf in insert mode only in your config.fish

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