mirror of
https://github.com/Xevion/dotfiles.git
synced 2026-01-31 04:24:10 -06:00
feat: add fzf abbreviation/alias search with Alt+A keybinding
This commit is contained in:
@@ -44,6 +44,12 @@ end
|
||||
# Load custom functions from ~/.config/fish/functions/
|
||||
# (Fish does this automatically, no explicit sourcing needed)
|
||||
|
||||
# Custom keybindings
|
||||
if functions -q fzf_search_abbr
|
||||
bind \ea fzf_search_abbr # Alt+A: Search abbreviations/aliases
|
||||
bind -M insert \ea fzf_search_abbr # Also bind in insert mode
|
||||
end
|
||||
|
||||
# Load abbreviations
|
||||
if test -f ~/.config/fish/conf.d/abbr.fish
|
||||
source ~/.config/fish/conf.d/abbr.fish
|
||||
|
||||
Reference in New Issue
Block a user