Henrik Lissner
c52cb38385
ui/doom-modeline: refactor flycheck segment (faster)
2018-01-31 04:24:51 -05:00
Henrik Lissner
50ce083696
ui/doom-modeline: add word-count to selection segment #364
...
Controlled by the buffer-local variable
+doom-modeline-enable-word-count. Use +doom-modeline|enable-word-count
to enable it in certain modes. By default, this is enabled in text-mode
derived buffers.
2018-01-31 04:23:20 -05:00
Henrik Lissner
5827186123
ui/doom-dashboard: +default/find-in-emacsd => doom-project-find-file
2018-01-29 01:02:24 -05:00
Henrik Lissner
3146513442
ui/doom-modeline: define bar once
...
A little faster (and simpler) than memoizing the xpm generator.
2018-01-28 21:38:19 -05:00
Henrik Lissner
8b19e35ef6
Consider dired-mode buffers real
2018-01-28 20:37:40 -05:00
Henrik Lissner
086a1659b4
ui/doom-dashboard: edit emacs.d button => fuzzy find-file
2018-01-28 18:15:43 -05:00
Henrik Lissner
e3040c676b
ui/doom-dashboard: reload at least once on startup
2018-01-28 18:15:22 -05:00
Henrik Lissner
4977d22b75
ui/doom-dashboard: don't hide dired-mode buffers on startup
2018-01-28 18:15:04 -05:00
Henrik Lissner
7bfd7c1ade
ui/doom-dashboard: don't change default-directory on startup
2018-01-28 18:14:41 -05:00
Henrik Lissner
cd6fb816fd
ui/doom-modeline: set modeline sooner
...
This may address scenarios where the modeline is unset, especially in
terminal Emacs sessions (like when emacs -nw is your EDITOR).
2018-01-28 16:50:32 -05:00
Henrik Lissner
c0084b5a93
ui/unicode: fix unicode-fonts-setup not running on startup
...
Caused because of logic error in +unicode|init-fonts; a nil FRAME
prevents unicode-fonts-setup from running.
2018-01-24 14:07:52 -05:00
Henrik Lissner
0d83834ac7
ui/doom-dashboard: major refactor
...
+ Fix default-directory not being set properly when switching
perspectives. ie. Add persp-mode integration (#347 , #360 )
+ Ensure dashboard initializes properly, at the right time to ensure
benchmark is properly reported (fix #361 )
2018-01-20 15:42:13 -05:00
Henrik Lissner
6790d666e0
ui/doom-modeline: init on doom-init-theme-hook
...
Initialize modeline with the theme.
2018-01-15 00:40:24 -05:00
Henrik Lissner
e6e1282346
ui/doom-dashboard: fix recentf, project & bookmark buttons
...
When none of these buttons' commands were remapped, you'd get a commandp
nil error.
2018-01-12 18:41:10 -05:00
Henrik Lissner
637a678529
ui/doom-dashboard: fix unchanging default-directory #347
2018-01-11 12:24:38 -05:00
Henrik Lissner
b6bf0d7afd
ui/doom-dashboard: major refactor; use initial-buffer-choice
...
Much of my work getting dashboard to behave across GUI, tty and daemon
Emacs is already done with initial-buffer-choice, so I cut down on my
own code and exploit that instead. Needs more testing.
2018-01-08 17:30:54 -05:00
Henrik Lissner
c586eee602
ui/doom-modeline: don't forcibly hide modeline in org-src-mode
2018-01-07 05:56:02 -05:00
Henrik Lissner
a5bb69cf6a
Ensure *Messages* and *scratch* have a modeline
2018-01-07 00:35:23 -05:00
Henrik Lissner
8531b5245e
ui/vi-tilde-fringe: use minor mode instead of global mode
...
The global mode is a tad greedy, affecting buffers I don't want it to.
So only activate it in certain places. This may change.
2018-01-06 03:03:25 -05:00
Henrik Lissner
3cbddbfd88
Generalize +evil-esc-hook into doom-escape-hook
...
This lets vanilla Emacs users in on having a universal "escape" key.
2018-01-06 02:38:39 -05:00
Henrik Lissner
91357a3e5d
💥 Replace core-popup with new feature/popup module
...
This is a breaking change! Update your :popup settings. Old ones will
throw errors!
Doom's new popup management system casts off its shackles (hur hur) and
replaces them with the monster that is `display-buffer-alist`, and
window parameters.
However, this is highly experimental! Expect edge cases. Particularly
with org-mode and magit (or anything that does its own window
management).
Relevant to #261 , #263 , #325
2018-01-06 02:17:43 -05:00
Henrik Lissner
9cc762ffbe
Remove unnecessary +doom-dashboard|init from test
2018-01-05 14:56:55 -05:00
Henrik Lissner
1583ca573d
Fix ui/doom-dashboard tests
2018-01-05 14:55:21 -05:00
Henrik Lissner
23ff93703c
Append slash to default-directory in doom dashboard
...
...And give +doom-dashboard-update-pwd a docstring
2018-01-05 14:54:47 -05:00
Henrik Lissner
fab6fb1270
ui/window-select: use use-package :when/:unless instead of cond
...
Appease the byte-compiler.
2018-01-05 13:17:04 -05:00
Henrik Lissner
bee80c1a24
ui/doom-dashboard: don't cd into non-existent directories
...
Causes CDPATH errors.
2018-01-05 04:31:48 -05:00
Henrik Lissner
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
Henrik Lissner
93f3f0ef38
ui/doom: update hooks, refactor & simplify
...
+ doom-init-ui-hook => doom-init-theme-hook
+ Remove specific mode hooks for solaire-mode (need to revisit this)
+ Preemptive removal of doom-popup-mode hook
+ Use function for hs-set-up-overlay instead of lambda
2018-01-04 16:14:59 -05:00
Henrik Lissner
565726b765
ui/doom-quit: use confirm-kill-emacs var instead
2018-01-04 16:14:59 -05:00
Henrik Lissner
96ed8170d7
Rewrite ui/doom-dashboard tests
2017-12-29 04:17:31 -05:00
Henrik Lissner
7f2dd52b2e
ui/doom-dashboard: add docstring for +doom-dashboard|reload-on-kill
2017-12-29 04:16:14 -05:00
Henrik Lissner
54001de36e
ui/doom-dashboard: fix string/function pwd-policy when last-cwd is blank
2017-12-29 04:15:56 -05:00
Henrik Lissner
bf681f37b7
Correct typo in docstring
2017-12-29 04:11:54 -05:00
Henrik Lissner
43ad36e614
ui/doom-dashboard: major refactor #309
...
This should resolve any issues with the dashboard refusing to set its
pwd correctly (or at all) when being switched to.
2017-12-29 01:49:33 -05:00
Henrik Lissner
d8105427e2
ui/doom-dashboard: fix restriction to dashboard buffer
2017-12-28 20:04:46 -05:00
Henrik Lissner
f8cfe5878d
ui/doom-dashboard: add unit tests
2017-12-28 19:59:54 -05:00
Henrik Lissner
7ea3895b99
ui/doom-dashboard: fix pwd not always being set #309
2017-12-28 19:59:32 -05:00
Henrik Lissner
58b2605215
ui/doom-dashboard: fix 'last pwd policy
2017-12-28 19:58:27 -05:00
Henrik Lissner
538e4c52bd
ui/doom-dashboard: fix edge cases where cwd wasn't set properly
2017-12-27 21:00:03 -05:00
Henrik Lissner
86f445d6a1
ui/doom-dashboard: only set last-cwd in real buffers
2017-12-27 17:12:50 -05:00
Henrik Lissner
6c3d7ad7c7
ui/doom-dashboard: expand string +doom-dashboard-pwd-policy #309
2017-12-27 17:11:59 -05:00
Henrik Lissner
bee9259096
ui/doom-dashboard: add +doom-dashboard-pwd-policy option #309
...
Gives the user control over how the dashboard's default-directory is
set. The default is to set it to the project root of the last open
buffer.
2017-12-27 13:24:18 -05:00
Henrik Lissner
b5cb8a0527
Disable show-trailing-whitespace in doom dashboard #297
2017-12-25 19:09:55 -05:00
Henrik Lissner
1873a48e71
ui/doom-dashboard: fix trailing highlights in whitespace-mode #297
2017-12-22 16:33:43 -05:00
Henrik Lissner
317536a02a
ui/doom-dashboard: use doom--package-load-path to count packages
2017-12-22 16:26:08 -05:00
Henrik Lissner
76a4ae459d
Fix obsolete (when|if)-let messages in Emacs 26
2017-12-10 14:49:52 -05:00
Henrik Lissner
0ff5966379
Refactor solaire-mode init (fix startup errors in #285 )
2017-12-09 16:52:23 -05:00
Henrik Lissner
4a504a07aa
ui/doom-modeline: remove all-the-icons-scale-factor let-bindings #278
2017-12-09 14:51:33 -05:00
Henrik Lissner
f8e8dbad8f
General minor refactor
2017-12-08 23:14:12 -05:00
Henrik Lissner
c3077d1049
ui/doom: update README
2017-12-08 23:14:12 -05:00