Now that we are loading package autoloads files (as part of the generated doom-package-autoload-file when running make autoloads), many :commands properties are redundant. In fact, many def-package! blocks are redundant. In some cases, we can do without a config.el file entirely, and can move into the autoloads file or rely entirely on package autoloads. Also, many settings have been moved in their module's autoloads files, which makes them available ASAP; their use no longer depends on module load order. This gained me a modest ~10% boost in startup speed. |
||
---|---|---|
.. | ||
config.el | ||
packages.el | ||
README.org |
:ui window-select
This module provides the user with a visual way to switch windows. By default, the module only kicks in if there are more than two windows open at the same time.
Table of Contents TOC
Install
Add :feature lookup
to your init.el.
Module flags
This module provides two flags:
+ace-window
Use avy (and ace-window) as the backend.+switch-window
Use switch-window as the backend.
If neither flag is specified, +ace-window
will be used.
Usage
This module remaps the function other-window
to either switch-window
or
ace-window
, depending on which backend you've enabled.
other-window
is bound to C-x o
and SPC w o
.
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 displayed characters are small and difficult to see.
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.