From d41ac7be6017250eeabfb92f38d5a104e2a8909f Mon Sep 17 00:00:00 2001 From: sterni Date: Mon, 9 May 2022 15:45:16 +0200 Subject: feat(sterni/emacs): add keybind for revert-buffer Change-Id: I34a3b7c66854061b57dcd8d6181e62fe44156cb1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5544 Reviewed-by: sterni Autosubmit: sterni Tested-by: BuildkiteCI --- users/sterni/emacs/init.el | 1 + 1 file changed, 1 insertion(+) (limited to 'users/sterni/emacs') diff --git a/users/sterni/emacs/init.el b/users/sterni/emacs/init.el index 292c87dac28e..f3942c2f0f2b 100644 --- a/users/sterni/emacs/init.el +++ b/users/sterni/emacs/init.el @@ -153,6 +153,7 @@ (evil-define-key 'normal 'global (kbd "bk") 'kill-buffer) (evil-define-key 'normal 'global (kbd "bb") 'switch-to-buffer) (evil-define-key 'normal 'global (kbd "bl") 'list-buffers) + (evil-define-key 'normal 'global (kbd "br") 'revert-buffer) ;; window management: C-w hjkl is annoying in neo (define-key evil-window-map (kbd "") 'evil-window-left) (define-key evil-window-map (kbd "") 'evil-window-right) -- cgit 1.4.1