Alexander-Miller/treemacs@6c00fe7 -> Alexander-Miller/treemacs@389bca1 Bad-ptr/persp-mode.el@c132efe -> Bad-ptr/persp-mode.el@298df11 abo-abo/hydra@112e689 -> abo-abo/hydra@2d55378 dimitri/switch-window@277706b -> dimitri/switch-window@5bba780 ema2159/centaur-tabs@5453317 -> ema2159/centaur-tabs@b172646 emacsorphanage/anzu@7b8688c -> emacsorphanage/anzu@b3d15fb hlissner/emacs-doom-themes@e55d9a2 -> hlissner/emacs-doom-themes@74ebd77 iqbalansari/emacs-emojify@d886069 -> iqbalansari/emacs-emojify@9fc2277 jaypei/emacs-neotree@5e12716 -> jaypei/emacs-neotree@98fe213 joostkremers/writeroom-mode@8a226a3 -> joostkremers/writeroom-mode@92c47df seagle0128/doom-modeline@538017a -> seagle0128/doom-modeline@fb34eb5
ui/window-select
Table of Contents TOC
Description
This module provides several methods for selecting windows without the use of
the mouse or spatial navigation (e.g. C-w {h,j,k,l}
).
The command other-window
is remapped to either switch-window
or
ace-window
, depending on which backend you've enabled. It is bound to C-x o
(and C-w C-w
for evil users).
It also provides numbered windows and selection with the winum
package, if
desired. Evil users can jump to window N in C-w <N>
(where N is a number
between 0 and 9). Non evil users have C-x w <N>
instead.
Module Flags
+switch-window
Use the switch-window package as the backend, instead of ace-window (avy).+numbers
Enable numbered windows and window selection (using winum).
Packages
- switch-window (if
+switch-window
) - ace-window (if
+switch-window
isn't enabled) - winum (if
+numbers
)
Prerequisites
This module has no additional dependencies.
TODO Features
Configuration
This module provides two backends, both providing the same functionality, but
with different visual cues. They are ace-window
and switch-window
.
ace-window
The first character of the buffers changes to a highlighted, user-selectable character.
- Pros: the content of the buffers are always visible.
- Cons: The display characters are small and difficult to see (see below for a way to enlarge them).
Custom font-face example
This changes the ace-window display to show a white letter with a red background. The box attribute adds some padding.
(custom-set-faces!
'(aw-leading-char-face
:foreground "white" :background "red"
:weight bold :height 2.5 :box (:line-width 10 :color "red")))
switch-window
Replaces the entire buffer with large letters.
- Pros: The displayed characters are really easy to see.
- Cons: You can't see the contents of the buffers.