Files
fish/conf.d/10_key_bindings.fish
T
2026-08-03 23:11:01 +02:00

19 lines
603 B
Fish

function fish_user_key_bindings
# Word movement
bind ctrl-right forward-word
bind ctrl-left backward-word
# Deletes a standard word (matches the movement of ctrl-left/right)
bind ctrl-backspace backward-kill-word
# Deletes "more" - a big word (ignores punctuation, stops only at spaces)
bind alt-backspace backward-kill-bigword
bind shift-backspace backward-kill-bigword
# Your other existing bindings
bind alt-d kill-word
bind ctrl-w backward-kill-path-component
bind alt-. history-token-search-backward
bind ctrl-x,ctrl-e edit_command_buffer
end