Fixing the annoying ESC three times behavior in the modeline

This commit is contained in:
Derek Taylor
2023-08-16 21:11:06 -05:00
parent e93d4662a5
commit 2c2ddb469a
2 changed files with 41 additions and 31 deletions

View File

@@ -308,6 +308,16 @@
"w L" '(buf-move-right :wk "Buffer move right"))
)
(use-package git-timemachine
:after git-timemachine
:hook (evil-normalize-keymaps . git-timemachine-hook)
:config
(evil-define-key 'normal git-timemachine-mode-map (kbd "C-j") 'git-timemachine-show-previous-revision)
(evil-define-key 'normal git-timemachine-mode-map (kbd "C-k") 'git-timemachine-show-next-revision)
)
(use-package magit)
(menu-bar-mode -1)
(tool-bar-mode -1)
(scroll-bar-mode -1)
@@ -352,15 +362,7 @@
(use-package haskell-mode)
(use-package lua-mode)
(use-package git-timemachine
:after git-timemachine
:hook (evil-normalize-keymaps . git-timemachine-hook)
:config
(evil-define-key 'normal git-timemachine-mode-map (kbd "C-j") 'git-timemachine-show-previous-revision)
(evil-define-key 'normal git-timemachine-mode-map (kbd "C-k") 'git-timemachine-show-next-revision)
)
(use-package magit)
(global-set-key [escape] 'keyboard-escape-quit)
(use-package doom-modeline
:ensure t