Use windmove.

This commit is contained in:
2022-01-17 13:25:02 +00:00
parent 5d9a1b72b1
commit 7db196c3d5
2 changed files with 10 additions and 1 deletions

View File

@@ -1,10 +1,16 @@
;; The following lines are always needed. Choose your own keys.
;; The following lines are always needed. Choose your own keys.
;; Org mode keys
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cc" 'org-capture)
(global-set-key "\C-cb" 'org-iswitchb)
;; Make windmove work in Org mode:
(add-hook 'org-shiftup-final-hook 'windmove-up)
(add-hook 'org-shiftleft-final-hook 'windmove-left)
(add-hook 'org-shiftdown-final-hook 'windmove-down)
(add-hook 'org-shiftright-final-hook 'windmove-right)
;; org publish
(require 'ox-publish)
(setq org-publish-project-alist

View File

@@ -18,6 +18,9 @@
show-paren-style 'parenthesis)
(show-paren-mode 1)
;; Use shift+arrows to jump between windows
(windmove-default-keybindings)
;; This is the binary name of my scheme implementation
(setq scheme-program-name "guile")