peco select functions for fish shell
fzf version is here. https://github.com/takashabe/fish-fzf
fisher takashabe/fish-peco
Use peco with:
- history
- find directory
- ghq
- z
- ag
- k8s context
- tmux window
Type the function name on the shell.
peco_select_ghq
Or you can easily use it by adding key binding to config.fish
.
function fish_user_key_bindings
bind \c] peco_select_ghq # Ctrl-]
bind \cr peco_select_history # Ctrl-r
bind \cj peco_select_z # Ctrl-j
bind \cf peco_select_file # Ctrl-f
end
Type these bound keys you can use the function. You can change the key binding to anything.