feat(sterni/emacs): add keybind for revert-buffer

Change-Id: I34a3b7c66854061b57dcd8d6181e62fe44156cb1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5544
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
This commit is contained in:
sterni 2022-05-09 15:45:16 +02:00 committed by clbot
parent 333786db49
commit d41ac7be60

View file

@ -153,6 +153,7 @@
(evil-define-key 'normal 'global (kbd "<leader>bk") 'kill-buffer) (evil-define-key 'normal 'global (kbd "<leader>bk") 'kill-buffer)
(evil-define-key 'normal 'global (kbd "<leader>bb") 'switch-to-buffer) (evil-define-key 'normal 'global (kbd "<leader>bb") 'switch-to-buffer)
(evil-define-key 'normal 'global (kbd "<leader>bl") 'list-buffers) (evil-define-key 'normal 'global (kbd "<leader>bl") 'list-buffers)
(evil-define-key 'normal 'global (kbd "<leader>br") 'revert-buffer)
;; window management: C-w hjkl is annoying in neo ;; window management: C-w hjkl is annoying in neo
(define-key evil-window-map (kbd "<left>") 'evil-window-left) (define-key evil-window-map (kbd "<left>") 'evil-window-left)
(define-key evil-window-map (kbd "<right>") 'evil-window-right) (define-key evil-window-map (kbd "<right>") 'evil-window-right)