From e9ae94b6cf93618809db92721fa9ecdf3145f222 Mon Sep 17 00:00:00 2001 From: rootiest Date: Sun, 26 Apr 2026 01:48:55 -0400 Subject: [PATCH] fix(keybindings): preserve space after command token on Ctrl+Alt+U --- functions/_replace_command_token.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/_replace_command_token.fish b/functions/_replace_command_token.fish index b0064cb..0cf6690 100644 --- a/functions/_replace_command_token.fish +++ b/functions/_replace_command_token.fish @@ -1,6 +1,6 @@ function _replace_command_token --description 'Remove first token from commandline and place cursor at start' set -l cmd (commandline) - set -l rest (string replace -r '^\S+\s*' '' -- $cmd) + set -l rest (string replace -r '^\S+' '' -- $cmd) commandline -- $rest commandline -C 0 end