Commit Graph

9 Commits

Author SHA1 Message Date
12249753e6 Revert aw-keys to default if +numbers is enabled 2020-02-22 20:40:03 -05:00
f4e641950c Minor, general refactors 2019-11-05 18:46:07 -05:00
76cacb5bfe 💥 Rename def-package! -> use-package!
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.

Also changes def-package-hook! -> use-package-hook!

The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
c1b0ae6ac1 Move winum to ui/window-select module
And update its README
2019-05-09 21:44:19 -04:00
c82faf7f10 General reformatting & minor refactors 2019-02-19 15:53:26 -05:00
09cb4f6716 Major refactor & optimization of how modules load their packages
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.
2018-05-25 00:46:16 +02:00
fab6fb1270 ui/window-select: use use-package :when/:unless instead of cond
Appease the byte-compiler.
2018-01-05 13:17:04 -05:00
58573a0ce7 Refactor/revise ui/window-select
And bind SPC w C-w (or C-w C-w) to other-window.
2018-01-04 16:16:44 -05:00
f9321b1b3b Module to visually select windows with either ace-window or switch-window
Modularize ace-window and add switch-window as a replacement: Issue #218
2017-10-08 23:34:25 +02:00