junegunn / junegunn/fzf-git.sh
All keybinds delete last word of selected text in Bash
Open
- Dominant language
- Shell
- Stars
- 1.2k
- Forks
- 97
- PR merge metrics
- No merged PRs in 30d
Description
In Bash, every keybind results in the last word of the selected text being deleted, as if the delete word keybind was used.
I changed
```
bind -m emacs-standard '"\C-g\C-'$c'": " \C-u \C-a\C-k`_fzf_git_'$o'`\e\C-e\C-y\C-a\C-y\ey\C-h\C-e\er \C-h"'
```
to
```
bind -m emacs-standard '"\C-g\C-'$c'": " \C-u \C-a\C-k`_fzf_git_'$o'`\e\C-e\C-y\C-a\C-y\ey\C-h\C-e\er"'
```
and it appears to work.
I'm running fzf 0.60 and bash 5.2.37 on Debian trixie in WSL, and I tried both emacs and vi edit modes.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.