From f667b097738b1087773e4afff44a456344a4a6fc Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Sat, 1 Apr 2023 19:40:08 +0200 Subject: feat: added switch-window package --- config.org | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'config.org') diff --git a/config.org b/config.org index 0ab91ee..2b47d00 100644 --- a/config.org +++ b/config.org @@ -285,3 +285,23 @@ Displays colour of a hex-code as background-colour behind said hex-code :init (add-hook 'css-mode-hook #'rainbow-mode 1)) #+end_src + +** Initialize =switch-window= + +*** Description +Better way to switch windows + +*** Code +#+begin_src emacs-lisp + (use-package switch-window + :ensure t + :config + (setq switch-window-input-style 'minibuffer) + (setq switch-window-increase 4) + (setq switch-window-threshold 2) + (setq switch-window-shortcut-style 'qwerty) + (setq switch-window-qwerty-shortcuts + '("a" "s" "d" "f" "h" "j" "k" "l")) + :bind + ([remap other-window] . switch-window)) +#+end_src -- cgit v1.2.3