Commit Graph

90 Commits

Author SHA1 Message Date
c2fd538261 Refactor doom startup benchmark 2018-02-28 17:57:29 -05:00
dd163dace0 Fix org-agenda-list showing on dashboard 2018-02-28 13:53:37 +01:00
18d0b9425d ui/doom-dashboard: add sharp quote 2018-02-18 20:50:30 -05:00
f8bf86e1a3 ui/doom-dashboard: add button to open private module 2018-02-16 21:02:46 -05:00
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
ca262f5e4e Rename doom-fallback-buffer (variable) => doom-fallback-buffer-name 2018-02-01 20:06:00 -05:00
4567054aed ui/doom-dashboard: no emacs-state in dashboard 2018-02-01 19:58:44 -05:00
2ab0072d83 ui/doom-dashboard: fix dashboard not updating pwd on kill-buffer 2018-02-01 01:24:19 -05:00
5827186123 ui/doom-dashboard: +default/find-in-emacsd => doom-project-find-file 2018-01-29 01:02:24 -05:00
8b19e35ef6 Consider dired-mode buffers real 2018-01-28 20:37:40 -05:00
086a1659b4 ui/doom-dashboard: edit emacs.d button => fuzzy find-file 2018-01-28 18:15:43 -05:00
e3040c676b ui/doom-dashboard: reload at least once on startup 2018-01-28 18:15:22 -05:00
4977d22b75 ui/doom-dashboard: don't hide dired-mode buffers on startup 2018-01-28 18:15:04 -05:00
7bfd7c1ade ui/doom-dashboard: don't change default-directory on startup 2018-01-28 18:14:41 -05:00
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
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
637a678529 ui/doom-dashboard: fix unchanging default-directory #347 2018-01-11 12:24:38 -05:00
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
9cc762ffbe Remove unnecessary +doom-dashboard|init from test 2018-01-05 14:56:55 -05:00
1583ca573d Fix ui/doom-dashboard tests 2018-01-05 14:55:21 -05:00
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
bee80c1a24 ui/doom-dashboard: don't cd into non-existent directories
Causes CDPATH errors.
2018-01-05 04:31:48 -05:00
96ed8170d7 Rewrite ui/doom-dashboard tests 2017-12-29 04:17:31 -05:00
7f2dd52b2e ui/doom-dashboard: add docstring for +doom-dashboard|reload-on-kill 2017-12-29 04:16:14 -05:00
54001de36e ui/doom-dashboard: fix string/function pwd-policy when last-cwd is blank 2017-12-29 04:15:56 -05:00
bf681f37b7 Correct typo in docstring 2017-12-29 04:11:54 -05:00
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
d8105427e2 ui/doom-dashboard: fix restriction to dashboard buffer 2017-12-28 20:04:46 -05:00
f8cfe5878d ui/doom-dashboard: add unit tests 2017-12-28 19:59:54 -05:00
7ea3895b99 ui/doom-dashboard: fix pwd not always being set #309 2017-12-28 19:59:32 -05:00
58b2605215 ui/doom-dashboard: fix 'last pwd policy 2017-12-28 19:58:27 -05:00
538e4c52bd ui/doom-dashboard: fix edge cases where cwd wasn't set properly 2017-12-27 21:00:03 -05:00
86f445d6a1 ui/doom-dashboard: only set last-cwd in real buffers 2017-12-27 17:12:50 -05:00
6c3d7ad7c7 ui/doom-dashboard: expand string +doom-dashboard-pwd-policy #309 2017-12-27 17:11:59 -05:00
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
b5cb8a0527 Disable show-trailing-whitespace in doom dashboard #297 2017-12-25 19:09:55 -05:00
1873a48e71 ui/doom-dashboard: fix trailing highlights in whitespace-mode #297 2017-12-22 16:33:43 -05:00
317536a02a ui/doom-dashboard: use doom--package-load-path to count packages 2017-12-22 16:26:08 -05:00
f8e8dbad8f General minor refactor 2017-12-08 23:14:12 -05:00
8ce10af094 New variable: +doom-dashboard-inhibit-functions 2017-10-02 19:59:18 +02:00
b7ca13f45d Move dashboard modeline setup to ui/doom-modeline 2017-09-29 04:00:42 +02:00
d5fe8128aa Add org-agenda-list button to dashboard 2017-09-29 02:43:33 +02:00
a07b10e686 dashboard: general refactor & minor visual tweaks 2017-09-29 02:43:33 +02:00
6259ba9114 Dynamic vertical alignment of the dashboard #192 2017-09-29 02:43:01 +02:00
27b1d08c19 Show DOOM in dashboard mode-line 2017-09-29 02:41:21 +02:00
474f330cd4 Use doom-emacs-dir as dashboard's default directory 2017-09-26 19:35:44 +02:00
582e69db05 Move vi-tilde-fringe to new ui/vi-tilde-fringe module 2017-09-24 17:10:48 +02:00
fd0b9c8673 Reload dashboard windows on focus-in 2017-09-13 20:16:00 +02:00
4f7ce35424 doom-dashboard: improve margin resetting 2017-09-13 20:15:46 +02:00
f7e737c1f1 doom-dashboard: refactor 2017-09-13 20:11:16 +02:00