summary refs log tree commit diff
path: root/emacs.d/custom
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2020-02-11 13:54:19 -0800
committerFranck Cuny <franck.cuny@gmail.com>2020-02-11 13:54:19 -0800
commita25ce575d17b3da57652099b0775d6c76a8d3b9d (patch)
tree02dc0be27da3fc10bc6fb5200166e4ca33b4cc09 /emacs.d/custom
parentorg: don't narrow when capturing a journal entry. (diff)
downloademacs.d-a25ce575d17b3da57652099b0775d6c76a8d3b9d.tar.gz
emacs: easy navigation between windows
Add a few bindings to move up / down / left / right.
Diffstat (limited to 'emacs.d/custom')
-rw-r--r--emacs.d/custom/fcuny-navigation.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs.d/custom/fcuny-navigation.el b/emacs.d/custom/fcuny-navigation.el
index 218dd7d..4547e61 100644
--- a/emacs.d/custom/fcuny-navigation.el
+++ b/emacs.d/custom/fcuny-navigation.el
@@ -5,6 +5,12 @@
   :bind
   (("C-c l" . avy-goto-line)))
 
+(use-package windmove
+  :bind (("<M-left>" . windmove-left)
+	 ("<M-up>" . windmove-up)
+	 ("<M-right>" . windmove-right)
+	 ("<M-down>" . windmove-down)))
+
 (use-package bookmark
   :custom
   (bookmark-default-file (expand-file-name "bookmarks" fcuny/path-emacs-var))