mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-19 18:41:56 +03:00
vim: indent in visual mode uses only one <
Fixes: zed-industries/community#1562
This commit is contained in:
parent
460bf93866
commit
20d8a2a1ec
@ -314,8 +314,8 @@
|
|||||||
"vim::SwitchMode",
|
"vim::SwitchMode",
|
||||||
"Normal"
|
"Normal"
|
||||||
],
|
],
|
||||||
"> >": "editor::Indent",
|
">": "editor::Indent",
|
||||||
"< <": "editor::Outdent"
|
"<": "editor::Outdent"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -137,7 +137,7 @@ async fn test_indent_outdent(cx: &mut gpui::TestAppContext) {
|
|||||||
cx.assert_editor_state("aa\nbˇb\ncc");
|
cx.assert_editor_state("aa\nbˇb\ncc");
|
||||||
|
|
||||||
// works in visuial mode
|
// works in visuial mode
|
||||||
cx.simulate_keystrokes(["shift-v", "down", ">", ">"]);
|
cx.simulate_keystrokes(["shift-v", "down", ">"]);
|
||||||
cx.assert_editor_state("aa\n b«b\n cˇ»c");
|
cx.assert_editor_state("aa\n b«b\n cˇ»c");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user