From 618cb8ac184c1186b79ddbb5923bf881562595c4 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Wed, 28 Apr 2021 10:20:47 +0200 Subject: [PATCH] Bind also `ctrl-d` to `buffer:delete` --- zed/src/editor/buffer_view.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/zed/src/editor/buffer_view.rs b/zed/src/editor/buffer_view.rs index 80f4533274..622b7ba565 100644 --- a/zed/src/editor/buffer_view.rs +++ b/zed/src/editor/buffer_view.rs @@ -31,6 +31,7 @@ pub fn init(app: &mut MutableAppContext) { app.add_bindings(vec![ Binding::new("backspace", "buffer:backspace", Some("BufferView")), Binding::new("delete", "buffer:delete", Some("BufferView")), + Binding::new("ctrl-d", "buffer:delete", Some("BufferView")), Binding::new("enter", "buffer:newline", Some("BufferView")), Binding::new("ctrl-shift-K", "buffer:delete_line", Some("BufferView")), Binding::new("cmd-x", "buffer:cut", Some("BufferView")),