From d29f9dd7720e806db6c47a4ea5e3b1299dbd27db Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 30 Oct 2024 13:31:43 +0000 Subject: [PATCH] Enable windmove default binds --- README.org | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.org b/README.org index 12eb373..6963cf0 100644 --- a/README.org +++ b/README.org @@ -70,6 +70,13 @@ Bind mouse keys to expected movement commands (keymap-global-set "" #'next-buffer) #+end_src +Enable default binds of =Windmove= to navigate windows using shift+arrow + +#+begin_src emacs-lisp +(when (fboundp 'windmove-default-keybindings) + (windmove-default-keybindings)) +#+end_src + Set custom location for backups #+begin_src emacs-lisp @@ -148,11 +155,9 @@ Configure the look and feel of Emacs (require 'server) (add-hook 'after-init-hook - (lambda () (when (display-graphic-p) - (my/load-theme-and-configure)))) + (lambda () (when (display-graphic-p) (my/load-theme-and-configure)))) (add-hook 'server-after-make-frame-hook - (lambda () (when (display-graphic-p) - (my/load-theme-and-configure)))) + (lambda () (when (display-graphic-p) (my/load-theme-and-configure)))) (add-to-list 'package-selected-packages 'nerd-icons) (use-package nerd-icons