21 lines
575 B
EmacsLisp
21 lines
575 B
EmacsLisp
;;; ui/window-select/config.el -*- lexical-binding: t; -*-
|
|
|
|
(def-package! switch-window
|
|
:when (featurep! +switch-window)
|
|
:defer t
|
|
:init
|
|
(global-set-key [remap other-window] #'switch-window)
|
|
:config
|
|
(setq switch-window-shortcut-style 'qwerty
|
|
switch-window-qwerty-shortcuts '("a" "s" "d" "f" "g" "h" "j" "k" "l")))
|
|
|
|
|
|
(def-package! ace-window
|
|
:unless (featurep! +switch-window)
|
|
:defer t
|
|
:init
|
|
(global-set-key [remap other-window] #'ace-window)
|
|
:config
|
|
(setq aw-keys '(?a ?s ?d ?f ?g ?h ?j ?k ?l)
|
|
aw-scope 'frame
|
|
aw-background t))
|