Bind also ctrl-d to buffer:delete

This commit is contained in:
Antonio Scandurra 2021-04-28 10:20:47 +02:00
parent cee9509127
commit 618cb8ac18

View file

@ -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")),