fzf/shell
Junegunn Choi 9dfca77c36
[zsh] Keep current $BUFFER on ALT-C
Ideally, we could only use `print -sr` to update the command history.
However, the "cd" command by ALT-C is added to the history only after we
finalize the current command by pressing an additional enter key.

i.e. The cd command from ALT-C is not visible when you hit Up arrow. But
it appears once you hit enter key.

So when the current buffer is empty, we use `zle accept-line` so that
the command history is immediately updated.

Close #2200
2020-10-03 14:55:02 +09:00
..
completion.bash Remove dead code 2020-04-18 02:51:02 +09:00
completion.zsh [completion] Make kill completion more consistent with the others 2020-04-18 02:46:40 +09:00
key-bindings.bash [fzf-tmux] Fall back to plain fzf when split failed 2020-04-03 13:23:15 +09:00
key-bindings.fish [fzf-tmux] Add option to start fzf in tmux popup window 2020-04-03 13:23:15 +09:00
key-bindings.zsh [zsh] Keep current $BUFFER on ALT-C 2020-10-03 14:55:02 +09:00