Skip to content

amaya382/zsh-fzf-widgets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Zsh widgets for fzf

Zsh widgets for fzf. You can bind what you want to a key you want.

Widgets

name description bind
fzf-cd Select dir under the current working dir Enter: cd
Tab: Paste to buffer
fzf-cdr Select dir from cdr (Not existing dirs will be colored) Enter: cd
Tab: Paste to buffer
fzf-history Select cmd history Enter: exec
Tab: Paste to buffer
fzf-git-checkout Select git branch including remote Enter: checkout
Tab: Paste to buffer
fzf-git-log Show git log Enter: Show details
Tab: Paste to buffer
fzf-git-status Show git status Enter: Show details
Tab: Paste to buffer
fzf-kill-proc-by-list Select process id from list Enter: kill
Tab: Paste to buffer
fzf-kill-proc-by-port Select process id from port num (w/ sudo) Enter: kill
Tab: Paste to buffer
fzf-gitmoji Select emoji for git comment Enter: Paste to buffer
Tab: Paste to buffer

Options

name description default
FZF_CMD fzf command w/ options fzf --ansi
ZSH_FZF_PASTE_KEY Key binding for pasting to buffer tab
ZSH_FZF_EXEC_KEY Key binding for executing specific commands enter

Usage (w/ zplug)

.zshrc

zplug "amaya382/zsh-fzf-widgets"

bindkey '^R' fzf-cdr
bindkey '^H' fzf-history

# Use ctrl-t instead of tab key
export ZSH_FZF_PASTE_KEY=ctrl-t

About

🔩 Well-unified zsh widgets for fzf

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages