Release Notes: - N/A
This commit is contained in:
@@ -240,7 +240,7 @@
|
||||
"delete": "vim::DeleteRight",
|
||||
"g shift-j": "vim::JoinLinesNoWhitespace",
|
||||
"y": "vim::PushYank",
|
||||
"shift-y": "vim::YankToEndOfLine",
|
||||
"shift-y": "vim::YankLine",
|
||||
"x": "vim::DeleteRight",
|
||||
"shift-x": "vim::DeleteLeft",
|
||||
"ctrl-a": "vim::Increment",
|
||||
@@ -393,7 +393,7 @@
|
||||
"escape": "editor::Cancel",
|
||||
"shift-d": "vim::DeleteToEndOfLine",
|
||||
"shift-j": "vim::JoinLines",
|
||||
"shift-y": "vim::YankToEndOfLine",
|
||||
"shift-y": "vim::YankLine",
|
||||
"shift-i": "vim::InsertFirstNonWhitespace",
|
||||
"shift-a": "vim::InsertEndOfLine",
|
||||
"o": "vim::InsertLineBelow",
|
||||
|
||||
@@ -2000,14 +2000,6 @@ mod test {
|
||||
cx.shared_state().await.assert_eq("// hello\n// ˇ\n// x\n");
|
||||
}
|
||||
|
||||
#[gpui::test]
|
||||
async fn test_yank_to_end_of_line(cx: &mut gpui::TestAppContext) {
|
||||
let mut cx = NeovimBackedTestContext::new(cx).await;
|
||||
cx.set_shared_state("heˇllo\n").await;
|
||||
cx.simulate_shared_keystrokes("Y p").await;
|
||||
cx.shared_state().await.assert_eq("helllˇolo\n");
|
||||
}
|
||||
|
||||
#[gpui::test]
|
||||
async fn test_yank_line_with_trailing_newline(cx: &mut gpui::TestAppContext) {
|
||||
let mut cx = NeovimBackedTestContext::new(cx).await;
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
{"Put":{"state":"heˇllo\n"}}
|
||||
{"Key":"Y"}
|
||||
{"Key":"p"}
|
||||
{"Get":{"state":"helllˇolo\n","mode":"Normal"}}
|
||||
Reference in New Issue
Block a user