summaryrefslogtreecommitdiff
path: root/config.org
diff options
context:
space:
mode:
Diffstat (limited to 'config.org')
-rw-r--r--config.org20
1 files changed, 20 insertions, 0 deletions
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