Enable windmove default binds

This commit is contained in:
Evie Litherland-Smith 2024-10-30 13:31:43 +00:00
parent 5218d02b6e
commit d29f9dd772

View file

@ -70,6 +70,13 @@ Bind mouse keys to expected movement commands
(keymap-global-set "<mouse-9>" #'next-buffer) (keymap-global-set "<mouse-9>" #'next-buffer)
#+end_src #+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 Set custom location for backups
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -148,11 +155,9 @@ Configure the look and feel of Emacs
(require 'server) (require 'server)
(add-hook 'after-init-hook (add-hook 'after-init-hook
(lambda () (when (display-graphic-p) (lambda () (when (display-graphic-p) (my/load-theme-and-configure))))
(my/load-theme-and-configure))))
(add-hook 'server-after-make-frame-hook (add-hook 'server-after-make-frame-hook
(lambda () (when (display-graphic-p) (lambda () (when (display-graphic-p) (my/load-theme-and-configure))))
(my/load-theme-and-configure))))
(add-to-list 'package-selected-packages 'nerd-icons) (add-to-list 'package-selected-packages 'nerd-icons)
(use-package nerd-icons (use-package nerd-icons