Henrik Lissner
0cfab2e507
Disable indent guides by default
...
It's hard on the fontifier and slows Emacs down tremendously.
2019-03-11 18:31:16 -04:00
Henrik Lissner
c5c3bdaa61
ui/indent-guides: set variables sooner
...
So you don't need after! to change them.
2019-03-11 16:46:55 -04:00
Henrik Lissner
cdd6587450
lang/markdown: only bind meta keys in insert mode
...
Fixes #1241
2019-03-11 13:19:25 -04:00
Henrik Lissner
dbff052c8a
Use doom-which-key-leader-prefix-regexp
...
Curse your sudden but inevitable betrayal, impatience.
2019-03-11 13:16:51 -04:00
Henrik Lissner
f332ba6111
Define doom-which-key-leader-prefix-regexp
2019-03-11 13:10:42 -04:00
Henrik Lissner
dadcd29f27
Refactor leader key initialization
...
Ensures general-override-mode is enabled and labels are correctly
registered to all (visible) leader keys.
Relevant to #1240
2019-03-11 13:06:46 -04:00
Henrik Lissner
16f7bad266
Hide magit modeline more selectively
2019-03-11 12:58:53 -04:00
Henrik Lissner
f0013083c0
Restore minimal modeline in magit
...
With process indicator
2019-03-11 12:54:16 -04:00
Henrik Lissner
8392c9dcf6
Add new :ui indent-guides module
...
Replaces old highlight-indentation-mode with new highlight-indent-guides
plugin.
2019-03-11 12:39:38 -04:00
Andrew Whatson
0a30b4ee4b
Add elisp-demos to lang/emacs-lisp module
...
This is an extremely useful package which adds little examples to the
help docs for a massive number of elisp functions.
https://github.com/xuchunyang/elisp-demos
2019-03-11 00:22:22 +10:00
Andrew Whatson
ea14407c16
Fix ace-link-help binding in helpful-mode
2019-03-10 23:05:03 +10:00
Andrew Whatson
f065ddfdaa
Fix doom/toggle-debug-mode
...
Previously this would error due to undefined `doom-debug-on-error`
variable. Now behaves like a minor-mode function to toggle both
`doom-debug-mode` and `debug-on-error`.
2019-03-10 22:56:53 +10:00
Henrik Lissner
a258995db9
Set arglist to add-hook!/remove-hook! macros
...
More sensible eldoc support.
2019-03-10 08:15:46 -04:00
Henrik Lissner
df26502f01
Avoid general in core
...
Future proofing against changes in load order.
2019-03-10 08:12:04 -04:00
Henrik Lissner
c3a9828fa3
Allow doom-package-list to scrape *all* packages
...
Even ones that are conditional. This does mean its plist is unevaluated,
however.
2019-03-10 08:10:59 -04:00
Henrik Lissner
f02e7faefb
emacs/dired: ranger-show-literal = nil
2019-03-09 19:56:48 -05:00
Henrik Lissner
b0bc1d925f
Minor refactors; revise docstrings+comments
2019-03-09 19:56:47 -05:00
Henrik Lissner
17714c2c63
Refactor Doom use-package extensions
2019-03-09 19:56:45 -05:00
Henrik Lissner
8f98e441c0
Merge pull request #1227 from flatwhatson/fix-dashboard-switch
...
Only switch to dashboard when creating a new workspace
2019-03-09 13:04:28 -05:00
Henrik Lissner
850ad3956d
Merge pull request #1228 from flatwhatson/tidy-ivy-buffer-preview
...
Tidy up +ivy-buffer-preview functionality
2019-03-09 12:43:34 -05:00
Henrik Lissner
681d0f1a2a
Improve vanilla sandbox
...
Can now launch four different sessions:
1. Vanilla Emacs
2. Vanilla Doom (only Doom core)
3. Doom core + modules - private config
4. A full Doom session (load everything)
2019-03-09 04:53:14 -05:00
Henrik Lissner
cec93933d0
Revert ee6e4a8b
...
Fix was merged upstream: Yevgnen/ivy-rich#51
2019-03-09 04:38:22 -05:00
Henrik Lissner
ca9a2c8c17
Refactor interactiove bin/doom commands #1220
2019-03-09 04:28:25 -05:00
Henrik Lissner
bb9cbfecc9
Improve interactive bin/doom commands #1220
...
Now prints to a buffer rather than in echo-area. Still experimental
however.
2019-03-09 03:53:38 -05:00
Henrik Lissner
66d75936fc
config/default: split into evil/emacs files
...
Done to better facilitate a non-evil config.
- Adds winum (and enables support for it in doom-modeline)
- Adds expand-region (#1231 )
- Uses default smartparens config for non-evil users (WIP)
2019-03-09 03:43:14 -05:00
Henrik Lissner
1a6f0c2f1d
💥 Redesign vanilla Emacs keybind scheme
...
The leader keys have been redesigned a) for consistency, b) to reduce
collisions with packages, and c) to improve command coverage. However,
much of it still comes from a vim user, so it needs more testing.
2019-03-09 03:42:55 -05:00
Henrik Lissner
b6fcd59a01
completion/ivy: remap describe-bindings & set-variable
2019-03-09 03:42:55 -05:00
Henrik Lissner
419c3ba1e6
feature/evil: recenter window after / * or #
2019-03-09 03:42:55 -05:00
Henrik Lissner
54d1c0dd56
Minor, general refactors
2019-03-09 03:42:55 -05:00
Henrik Lissner
442bd7cfb9
Only apply prefix arg fix to evil leaders
2019-03-09 02:42:32 -05:00
Henrik Lissner
d5ba685817
Don't overwrite C-i in GUI Emacs
2019-03-09 02:42:31 -05:00
Henrik Lissner
9758aae389
config/default: move help keybinds out of +bindings
...
These ought to be available to all users, whether or not they want the
rest of Doom's keybinds.
2019-03-09 02:42:31 -05:00
Henrik Lissner
8e866bb37f
Improve leader key initialization
...
And ensure leader key always has precedence.
Indirectly fixes #1234
2019-03-09 02:42:23 -05:00
Henrik Lissner
e0ed8669af
Move (if|when)-let* shims to core.el
...
Fix void-functon when-let* errors at startup for Emacs 25.* users.
2019-03-08 18:06:35 -05:00
Henrik Lissner
ee6e4a8b5c
Fix ivy--queue-exhibit: void-function nil error
...
Until Yevgnen/ivy-rich#51 is merged
2019-03-08 17:58:58 -05:00
Henrik Lissner
062652ec11
lang/org: Fix defvaralias warning; revise docstrings
2019-03-08 14:52:04 -05:00
Henrik Lissner
b9bbc95f1b
Fix void-variable org-file-apps error #1232
...
Snuck in during fa26dc12
2019-03-08 14:26:25 -05:00
Henrik Lissner
c9e7d27317
Set leader keys later #1233
...
Setting them too soon means the user can't change them.
2019-03-08 14:23:42 -05:00
Henrik Lissner
5ab58a7eaf
Load subr-x & cl-lib sooner
2019-03-08 06:13:07 -05:00
Henrik Lissner
cec2b4e9bc
Add doom/toggle-debug-mode command
2019-03-08 04:25:45 -05:00
Henrik Lissner
f2b8280b2a
Add +default/search-from-cwd & +default/search-project
2019-03-08 04:25:45 -05:00
Henrik Lissner
748b197676
Minor, general refactors
2019-03-08 04:25:45 -05:00
Henrik Lissner
8f733c2ab5
Don't kill magit with ESC
2019-03-08 04:25:45 -05:00
Henrik Lissner
1f23eecdc8
(Try to) homogenize TAB/RET/ESC keybinds
...
Map them to \t/^M/^[, rather than [tab], [return] and [escape].
2019-03-08 04:25:45 -05:00
Henrik Lissner
b9a036a96c
editor/fold: check outline-mode folds before hs
...
b/c hideshow fold checks produce more false positives.
2019-03-08 04:25:45 -05:00
Henrik Lissner
90a10931f7
lang/emacs-lisp: new +emacs-lisp-outline-regexp var
2019-03-08 04:25:44 -05:00
Henrik Lissner
a443d9ab07
Refactor doom-initialize-packages & package API
...
- Packages are initialized once, when package.el is first loaded, and
must be updated manually via doom/reload-packages.
- Package->module association is now stored in the package's PLIST under
:modules. This is an internal property and cannot be explicitly set
through `package!'
- Add doom-package-list function
- Rename doom-get-packages to doom-find-packages
- Updated doom-find-packages' docstring
- Added the :core filter to doom-find-packages
- Simplified doom-initialize-packages
- doom/reload calls doom/reload-packages if necessary.
- Fix redundant properties in doom-packages
- Remove tracking of after!, def-package! and def-package-hook! blocks.
Replaced with doom-package-list being able to see all packages, even
in disabled modules.
- Add :built-in property to package! for dummy packages. This is
important so that doom/describe-package can see built-in packages.
2019-03-08 04:25:44 -05:00
Henrik Lissner
8bfa5a30fd
Fix lookup commands not aborting on C-g/ESC #1226
...
When aborting a lookup handler with C-g/ESC, Doom was convinced that it
had failed legitimately, so tries the next. The expected behavior is
that it abort the entire lookup operation.
2019-03-08 02:37:34 -05:00
Henrik Lissner
4055f667fb
Defer doom|disable-whitespace-mode-in-childframes
2019-03-08 02:37:34 -05:00
Henrik Lissner
8e32f0da18
Rethink theme/font initialization order
...
+ Don't use set-frame-font. Causes issues for daemon users and is
slower.
+ Revice init function docstrings
+ Load fonts a little earlier than themes
May resolve an issue where fonts in daemon Emacs are too small on
startup.
Addresses #1223
2019-03-08 02:37:33 -05:00