summaryrefslogtreecommitdiff
path: root/config.org
diff options
context:
space:
mode:
authoryuzu-eva <stevenhu@web.de>2023-04-01 19:40:08 +0200
committeryuzu-eva <stevenhu@web.de>2023-04-01 19:40:08 +0200
commitf667b097738b1087773e4afff44a456344a4a6fc (patch)
tree3412fe26728e89ffe0d2a10388c47ac0eca6b2b2 /config.org
parentc8f60b035a30a0e2cfeb4eeedfb397c6b5c3bbe5 (diff)
feat: added switch-window package
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