Commit Graph

25 Commits

Author SHA1 Message Date
Henrik Lissner
17d206a28f
feature/snippets: remap yas-insert-snippet instead
Rather than binding directly to +snippets/expand-on-region
2018-03-13 01:27:53 -04:00
Henrik Lissner
23fda88b2f
Detach doom-modules-dirs from doom! macro
Formerly, you were required to have a doom! call (even a blank one) in
~/.doom.d/init.el if you wanted to have private sub-modules in
~/.doom.d/modules/.

No more. It is no longer doom!'s responsibility to affect
`doom-modules-dirs`. This is now done by :config private, while the
Doom modules directory is now the initial entry in doom-modules-dirs.
2018-03-12 13:32:00 -04:00
Henrik Lissner
839fc940f0
lang/org: remove <f8> keybind for +org-present/start
Moved it to SPC t p
2018-03-06 18:41:31 -05:00
Henrik Lissner
88d339f65d
config/private: remove unnecessary conditional 2018-03-05 23:01:33 -05:00
Henrik Lissner
4086ffd8e2
config/private: ensure config.el loads as late as possible #453 2018-03-05 23:01:17 -05:00
Henrik Lissner
128b11a8bc
Minor style/comment edits 2018-03-02 23:26:55 -05:00
Henrik Lissner
1aa07f4c09
config/default: fix meta keybinds in popup windows #447 2018-03-01 22:02:37 -05:00
Henrik Lissner
9d55d1e1ba
config/default: remove private macros (unnecessary complexity) 2018-03-01 04:15:09 -05:00
Henrik Lissner
873ad22894
config/default: make private macros private again! 2018-03-01 04:09:39 -05:00
Henrik Lissner
da66bb6be6
config/private: decouple from config/default 2018-03-01 04:08:29 -05:00
Henrik Lissner
cd0d44c463
config/default: redo tools/upload & ssh-deploy keybinds 2018-02-21 17:10:21 -05:00
Henrik Lissner
79f60f7fcf
config/default: SPC f c = compile project, SPC f o = find other file 2018-02-19 20:23:41 -05:00
Henrik Lissner
b5e53b82b9
config/default: SPC f d = dired 2018-02-19 20:21:11 -05:00
Henrik Lissner
20d97ffbaa
completion/ivy: add grep/git-grep integration to evil+ivy (:grep/:grepc[wd]) 2018-02-19 03:11:28 -05:00
Henrik Lissner
a967aa051a
Force autoloads to use absolute paths
Autoload paths used to be relative to arbitrary roots (usually
doom-modules-dir). This commit changes doom//reload-autoloads to iterate
over autoloads in doom-autoloads-file and replace their file paths with
an absolute one.

Theoretically this should make Emacs feel marginally faster, but we
*probably* get more of a benefit from a shorter load-path (because we no
longer need doom-modules-dirs, doom-core-dir or doom-psuedo-module-paths
in the load-path).

This is highly experimental however!
2018-02-19 01:25:37 -05:00
Henrik Lissner
22e9452104
config/default: +default/find-in-snippets => +default/browse-snippets 2018-02-18 03:12:38 -05:00
Henrik Lissner
a1580e5919
config/private: wrap init.el in file-directory-p check 2018-02-17 18:41:47 -05:00
Henrik Lissner
d91481a9a0
Add private module to load-path
This fixes autoload cookies in private autoload files (e.g.
~/.doom.d/autoload/file.el).
2018-02-16 23:26:44 -05:00
Henrik Lissner
bae226b94f
Refactor to revolve module tree roots around doom! calls
Any module can now use a doom! call to declare a module tree root.

This means that if you have a doom! block in
~/.emacs.d/modules/lang/org/init.el, then you can have submodules in
~/.emacs.d/modules/lang/org/modules/MODULE/SUBMODULE if you wanted to
for some reason.

This is only really truly useful for private modules. A doom! block in
~/.doom.d/init.el will recognize and enable modules in
~/.doom.d/modules/.
2018-02-16 05:07:46 -05:00
Henrik Lissner
540e74a6aa
Remove accidental file 2018-02-16 02:12:01 -05:00
Henrik Lissner
2b1c323dbf
💥 Redesign private sub-module system
~/.doom.d/modules is now a full module tree, like ~/.emacs.d/modules.
Symlinks are no longer involved.

Private modules can now shadow Doom modules. e.g.
~/.doom.d/modules/lang/org will take precendence over
~/.emacs.d/modules/lang/org.

Also, made doom--*-load-path variables public (e.g. doom--site-load-path
=> doom-site-load-path), and rearranged the load-path for a 10-15%
startup boost.
2018-02-16 02:11:10 -05:00
Henrik Lissner
8ca4fbd8fe
config/private: refactor symlink code 2018-02-15 03:39:12 -05:00
Henrik Lissner
800f8c4739
config/default: remove default yasnippet directory
Otherwise, ~/.emacs.d/snippets is always created.
2018-02-15 01:34:12 -05:00
Henrik Lissner
b3dcba54eb
Add config/private; for ~/.doom.d & ~/.config/doom support #406
A modules/ submodule will be symlinked to ~/.emacs.d/modules/private.
2018-02-14 23:36:35 -05:00
Henrik Lissner
6d7db48dc1
💥 Move :private modules to :config 2018-02-14 23:36:27 -05:00