Alexander-Miller/treemacs@1820db42c6 -> Alexander-Miller/treemacs@b18a05b1f6 Bad-ptr/persp-mode.el@298df111f0 -> Bad-ptr/persp-mode.el@7a594a3d8f abo-abo/ace-window@c7cb315c14 -> abo-abo/ace-window@0577c426a9 abo-abo/hydra@2d553787ac -> abo-abo/hydra@9e9e00cb24 doomemacs/themes@56e8a93b2d -> doomemacs/themes@83fd9545c2 edkolev/evil-goggles@08a22058fd -> edkolev/evil-goggles@8f20a16e74 ema2159/centaur-tabs@5860a5c40c -> ema2159/centaur-tabs@f4cef95acb emacs-lsp/lsp-treemacs@c40a381730 -> emacs-lsp/lsp-treemacs@355e468b7f seagle0128/doom-modeline@84573ae5e7 -> seagle0128/doom-modeline@ce9899f00a tarsius/hl-todo@42f744ffb5 -> tarsius/hl-todo@e52285965b Close: #6228 |
||
---|---|---|
.. | ||
config.el | ||
packages.el | ||
README.org |
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.