2017-10-08 23:34:25 +02:00
|
|
|
;;; ui/window-select/config.el -*- lexical-binding: t; -*-
|
|
|
|
|
2018-01-05 13:16:42 -05:00
|
|
|
(def-package! switch-window
|
|
|
|
:when (featurep! +switch-window)
|
2018-05-25 00:46:11 +02:00
|
|
|
:defer t
|
2018-01-05 13:16:42 -05:00
|
|
|
:init
|
2019-02-19 15:03:14 -05:00
|
|
|
(global-set-key [remap other-window] #'switch-window)
|
2018-01-05 13:16:42 -05:00
|
|
|
:config
|
|
|
|
(setq switch-window-shortcut-style 'qwerty
|
|
|
|
switch-window-qwerty-shortcuts '("a" "s" "d" "f" "g" "h" "j" "k" "l")))
|
2018-01-04 03:24:00 -05:00
|
|
|
|
2018-01-05 13:16:42 -05:00
|
|
|
|
|
|
|
(def-package! ace-window
|
|
|
|
:unless (featurep! +switch-window)
|
2018-05-25 00:46:11 +02:00
|
|
|
:defer t
|
2018-01-05 13:16:42 -05:00
|
|
|
:init
|
2019-02-19 15:03:14 -05:00
|
|
|
(global-set-key [remap other-window] #'ace-window)
|
2018-01-05 13:16:42 -05:00
|
|
|
:config
|
|
|
|
(setq aw-keys '(?a ?s ?d ?f ?g ?h ?j ?k ?l)
|
|
|
|
aw-scope 'frame
|
|
|
|
aw-background t))
|