about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-05-09T13·45+0200
committerclbot <clbot@tvl.fyi>2022-05-09T13·53+0000
commitd41ac7be6017250eeabfb92f38d5a104e2a8909f (patch)
tree1c3d8ad58e945c5b47a2c321f1ccfe549f034f95
parent333786db4932be7a679691c42caebb97fd6196d6 (diff)
feat(sterni/emacs): add keybind for revert-buffer r/4024
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
-rw-r--r--users/sterni/emacs/init.el1
1 files changed, 1 insertions, 0 deletions
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 "<leader>bk") 'kill-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>br") 'revert-buffer)
   ;; 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 "<right>") 'evil-window-right)