Update 2026-02-09

This commit is contained in:
2026-02-09 22:52:34 +02:00
parent 5324f54618
commit 13c0558017
50 changed files with 4171 additions and 117 deletions

View File

@@ -0,0 +1,26 @@
function fish_user_key_bindings
# Accept autosuggestion and enter insert mode with Shift+A
bind -M default A vi_append_accept
# Tab completion with fzf (zsh fzf-tab style)
bind -M insert \t fzf_complete
bind -M default \t fzf_complete
# bind -M insert \co 'yazicd; commandline -f repaint'
# Ctrl+O for yazicd
# bind -M default \co 'yazicd; commandline -f repaint'
bind -M insert \co 'yazicd; printf "\e[5 q"; commandline -f repaint'
bind -M default \co 'yazicd; printf "\e[5 q"; commandline -f repaint'
# Ctrl+N to open nvim in current directory
bind -M insert \cn open_nvim_here
bind -M default \cn open_nvim_here
# Ctrl+F for sesh
bind -M insert \cF fzf_sesh_connect
bind -M default \cF fzf_sesh_connect
# Ctrl+E to edit command line in editor
bind -M insert \ce edit_command_buffer
bind -M default \ce edit_command_buffer
end