Add buffer-move
This commit is contained in:
parent
c31d5c452d
commit
5814ef421b
@ -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)
|
(leader-def-key "wp" #'winner-undo)
|
||||||
#+END_SRC
|
#+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
|
* Info
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package info
|
(use-package info
|
||||||
@ -1589,7 +1600,12 @@ Set up evil keybindings:
|
|||||||
(require 'evil-org-agenda)
|
(require 'evil-org-agenda)
|
||||||
(evil-org-agenda-set-keys)
|
(evil-org-agenda-set-keys)
|
||||||
(general-def 'motion org-agenda-mode-map "SPC" leader-map)
|
(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
|
#+END_SRC
|
||||||
|
|
||||||
And a global keybinding to open an org file:
|
And a global keybinding to open an org file:
|
||||||
|
Loading…
Reference in New Issue
Block a user