From 7a59aefee0f45b13e1ca16c7955a06121a5b2a09 Mon Sep 17 00:00:00 2001 From: NotTheDr01ds <32344964+NotTheDr01ds@users.noreply.github.com> Date: Tue, 19 Nov 2024 15:08:24 -0500 Subject: [PATCH] Add Ctrl+J as newline --- src/edit_mode/keybindings.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/edit_mode/keybindings.rs b/src/edit_mode/keybindings.rs index 5b49b511..7822ce0f 100644 --- a/src/edit_mode/keybindings.rs +++ b/src/edit_mode/keybindings.rs @@ -234,6 +234,7 @@ pub fn add_common_edit_bindings(kb: &mut Keybindings) { ); kb.add_binding(KM::ALT, KC::Enter, edit_bind(EC::InsertNewline)); kb.add_binding(KM::SHIFT, KC::Enter, edit_bind(EC::InsertNewline)); + kb.add_binding(KM::CONTROL, KC::Char('j'), edit_bind(EC::InsertNewline)); } pub fn add_common_selection_bindings(kb: &mut Keybindings) {