summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--config.org20
2 files changed, 21 insertions, 0 deletions
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