Skip to content

Commit

Permalink
Add Ctrl+J as newline
Browse files Browse the repository at this point in the history
  • Loading branch information
NotTheDr01ds committed Nov 19, 2024
1 parent f579297 commit 7a59aef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/edit_mode/keybindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7a59aef

Please sign in to comment.