dotfiles/modules/common/shell/fish/functions/fish_user_key_bindings.fish

23 lines
964 B
Fish
Raw Permalink Normal View History

2022-04-30 10:21:43 -04:00
bind -M insert \co edit
bind -M default \co edit
2022-06-20 15:20:20 -04:00
bind -M insert \cs search-and-edit
bind -M default \cs search-and-edit
2022-04-30 10:21:43 -04:00
bind -M insert \ca 'cd ~; and edit; and commandline -a "; cd -"; commandline -f execute'
bind -M default \ca 'cd ~; and edit; and commandline -a "; cd -"; commandline -f execute'
bind -M insert \ce recent
bind -M default \ce recent
bind -M default \cg commandline-git-commits
bind -M insert \cg 'commandline -i (git rev-parse --show-toplevel 2>/dev/null || echo ".")'
2022-04-30 10:21:43 -04:00
bind -M insert \cf fcd
bind -M default \cf fcd
bind -M insert \cp projects
bind -M default \cp projects
bind -M insert \x1F accept-autosuggestion
bind -M default \x1F accept-autosuggestion
2023-07-10 16:01:01 -06:00
bind -M insert \cn 'commandline -r "nix shell nixpkgs#"'
bind -M default \cn 'commandline -r "nix shell nixpkgs#"'
bind -M insert \x11F nix-fzf
bind -M default \x11F nix-fzf
2024-02-09 09:51:29 -05:00
bind -M insert \ch '_atuin_search --filter-mode global'
bind -M default \ch '_atuin_search --filter-mode global'