From 3bd412822963c44720da2c522cb04df8328b0d37 Mon Sep 17 00:00:00 2001 From: Hannes Date: Mon, 3 Aug 2026 23:11:01 +0200 Subject: [PATCH] redefined some key-binds --- conf.d/10_key_bindings.fish | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/conf.d/10_key_bindings.fish b/conf.d/10_key_bindings.fish index 5911983..450cd36 100644 --- a/conf.d/10_key_bindings.fish +++ b/conf.d/10_key_bindings.fish @@ -1,10 +1,18 @@ function fish_user_key_bindings + # Word movement bind ctrl-right forward-word bind ctrl-left backward-word - bind alt-backspace backward-kill-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 alt-s sudo bind ctrl-x,ctrl-e edit_command_buffer end