Skip to content

Commit

Permalink
remapping leader-q in normal mode to close windows first before exiting
Browse files Browse the repository at this point in the history
  • Loading branch information
sminez committed Mar 8, 2025
1 parent 7d3d378 commit 36c19db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mode/normal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub(crate) fn normal_mode() -> Mode {

let mut keymap = keymap! {
// Exiting
[ leader, Char('q') ] => [ Exit { force: false } ],
[ leader, Char('q') ] => [ DeleteWindow { force: false } ],
[ leader, Char('Q') ] => [ Exit { force: true } ],

// Modes
Expand Down

0 comments on commit 36c19db

Please sign in to comment.