fix(keybindings): preserve space after command token on Ctrl+Alt+U

This commit is contained in:
2026-04-26 01:48:55 -04:00
parent c26db619ac
commit e9ae94b6cf
+1 -1
View File
@@ -1,6 +1,6 @@
function _replace_command_token --description 'Remove first token from commandline and place cursor at start' function _replace_command_token --description 'Remove first token from commandline and place cursor at start'
set -l cmd (commandline) set -l cmd (commandline)
set -l rest (string replace -r '^\S+\s*' '' -- $cmd) set -l rest (string replace -r '^\S+' '' -- $cmd)
commandline -- $rest commandline -- $rest
commandline -C 0 commandline -C 0
end end