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 --- .gitignore | 1 + config.org | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/.gitignore b/.gitignore index c1d2d1e..5e24531 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ config.el custom-vars.el +history ido.last smex-items .last-package-update-day 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