mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
vim: indent in visual mode uses only one <
Fixes: zed-industries/community#1562
This commit is contained in:
parent
460bf93866
commit
20d8a2a1ec
2 changed files with 3 additions and 3 deletions
|
@ -314,8 +314,8 @@
|
|||
"vim::SwitchMode",
|
||||
"Normal"
|
||||
],
|
||||
"> >": "editor::Indent",
|
||||
"< <": "editor::Outdent"
|
||||
">": "editor::Indent",
|
||||
"<": "editor::Outdent"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -137,7 +137,7 @@ async fn test_indent_outdent(cx: &mut gpui::TestAppContext) {
|
|||
cx.assert_editor_state("aa\nbˇb\ncc");
|
||||
|
||||
// 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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue