Add buffer-move

This commit is contained in:
Jeremy Dormitzer 2020-05-06 00:00:46 -04:00
parent c31d5c452d
commit 5814ef421b

View File

@ -979,6 +979,17 @@ Winner is a minor mode that keeps an undo/redo history of the window configurati
(leader-def-key "wp" #'winner-undo)
#+END_SRC
* Buffer move
A handy package to shift buffers between open windows:
#+BEGIN_SRC emacs-lisp
(use-package buffer-move
:general
("C-S-j" #'buf-move-down)
("C-S-k" #'buf-move-up)
("C-S-h" #'buf-move-left)
("C-S-l" #'buf-move-right))
#+END_SRC
* Info
#+BEGIN_SRC emacs-lisp
(use-package info
@ -1589,7 +1600,12 @@ Set up evil keybindings:
(require 'evil-org-agenda)
(evil-org-agenda-set-keys)
(general-def 'motion org-agenda-mode-map "SPC" leader-map)
(general-def 'motion org-agenda-mode-map "gs" 'org-save-all-org-buffers))
(general-def 'motion org-agenda-mode-map "gs" 'org-save-all-org-buffers)
(general-def '(normal motion) evil-org-mode-map
"C-S-j" nil
"C-S-k" nil
"C-S-h" nil
"C-S-l" nil))
#+END_SRC
And a global keybinding to open an org file: