Skip to content

Commit

Permalink
Add Newline keybindings
Browse files Browse the repository at this point in the history
  • Loading branch information
NotTheDr01ds committed Nov 19, 2024
1 parent 99bf675 commit f579297
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/edit_mode/keybindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ pub fn add_common_edit_bindings(kb: &mut Keybindings) {
KC::Char('v'),
edit_bind(EC::PasteSystem),
);
kb.add_binding(KM::ALT, KC::Enter, edit_bind(EC::InsertNewline));
kb.add_binding(KM::SHIFT, KC::Enter, edit_bind(EC::InsertNewline));
}

pub fn add_common_selection_bindings(kb: &mut Keybindings) {
Expand Down

0 comments on commit f579297

Please sign in to comment.