mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-20 05:41:14 -03:00
Fix punctuation movement with one char tokens
Previously, in
ls ^a bcd
(with "^" as the cursor), kill-word would delete the "a" and then go
on, remove the space and the "bcd".
With this, it will only kill the "a".
Fixes #4747.
This commit is contained in:
@@ -1993,6 +1993,7 @@ static void test_word_motion() {
|
||||
|
||||
test_1_word_motion(word_motion_left, move_word_style_path_components,
|
||||
L"^echo /^foo/^bar{^aaa,^bbb,^ccc}^bak/");
|
||||
test_1_word_motion(word_motion_right, move_word_style_punctuation, L"a ^bcd^");
|
||||
}
|
||||
|
||||
/// Test is_potential_path.
|
||||
|
||||
Reference in New Issue
Block a user