From 0fc97c4cb81b30ff1b2cf7044f5b9b50eca8d5c0 Mon Sep 17 00:00:00 2001 From: vindarel Date: Thu, 13 Jul 2023 02:06:32 +0200 Subject: [PATCH] legit: fix quit on Escape and M-q --- src/ext/legit/legit.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ext/legit/legit.lisp b/src/ext/legit/legit.lisp index cddcd9c0d..f061c83a8 100644 --- a/src/ext/legit/legit.lisp +++ b/src/ext/legit/legit.lisp @@ -104,9 +104,9 @@ Next: (define-key *legit-diff-mode-keymap* "q" 'legit-quit) (define-key lem/peek-legit:*peek-legit-keymap* "q" 'legit-quit) (define-key *legit-diff-mode-keymap* "M-q" 'legit-quit) -(define-key lem/peek-legit:*peek-legit-keymap* "M-q" 'peek-legit-quit) +(define-key lem/peek-legit:*peek-legit-keymap* "M-q" 'legit-quit) (define-key *legit-diff-mode-keymap* "Escape" 'legit-quit) -(define-key lem/peek-legit:*peek-legit-keymap* "Escape" 'peek-legit-quit) +(define-key lem/peek-legit:*peek-legit-keymap* "Escape" 'legit-quit) (define-key *legit-diff-mode-keymap* "C-c C-k" 'legit-quit) (define-key lem/peek-legit:*peek-legit-keymap* "C-c C-k" 'legit-quit)