Commit Graph

210 Commits

Author SHA1 Message Date
Henrik Lissner
b7ca13f45d
Move dashboard modeline setup to ui/doom-modeline 2017-09-29 04:00:42 +02:00
Henrik Lissner
d5fe8128aa
Add org-agenda-list button to dashboard 2017-09-29 02:43:33 +02:00
Henrik Lissner
a07b10e686
dashboard: general refactor & minor visual tweaks 2017-09-29 02:43:33 +02:00
Henrik Lissner
6259ba9114
Dynamic vertical alignment of the dashboard #192 2017-09-29 02:43:01 +02:00
Henrik Lissner
27b1d08c19
Show DOOM in dashboard mode-line 2017-09-29 02:41:21 +02:00
Henrik Lissner
5319f655b4
Prevent nav-flash from causing seizures in term-mode 2017-09-28 18:22:15 +02:00
Henrik Lissner
fde07ba5df
Show modified status in scratch buffer modeline 2017-09-27 00:00:30 +02:00
Henrik Lissner
b60286d909
modeline: buffer-project => buffer-default-directory 2017-09-26 19:36:17 +02:00
Henrik Lissner
474f330cd4
Use doom-emacs-dir as dashboard's default directory 2017-09-26 19:35:44 +02:00
Henrik Lissner
738d85e84f
Let python/ruby modules handle version strings
Also, set RBENV_VERSION and PYENV_VERSION envvars.
2017-09-26 01:02:47 +02:00
Henrik Lissner
c7d63fe091
Set special modeline in scratch buffer 2017-09-25 03:03:00 +02:00
Henrik Lissner
582e69db05
Move vi-tilde-fringe to new ui/vi-tilde-fringe module 2017-09-24 17:10:48 +02:00
Henrik Lissner
248ea4c2c7
Reset hl-todo-mode if already active 2017-09-22 13:13:23 +02:00
Henrik Lissner
42fec8494d
Rename doom/reload => doom/reload-load-path 2017-09-19 15:07:57 +02:00
Henrik Lissner
4be4756f90
ui/hl-todo: fix comment detection for some major modes
For major modes with poorly implemented syntax-tables, or simply can't
use them for their comments.
2017-09-14 12:50:58 +02:00
Henrik Lissner
fd0b9c8673
Reload dashboard windows on focus-in 2017-09-13 20:16:00 +02:00
Henrik Lissner
4f7ce35424
doom-dashboard: improve margin resetting 2017-09-13 20:15:46 +02:00
Henrik Lissner
f7e737c1f1
doom-dashboard: refactor 2017-09-13 20:11:16 +02:00
Henrik Lissner
f6f335ee14
doom-modeline: minor refactor 2017-09-12 14:53:40 +02:00
Henrik Lissner
a6199b1ed2
Use left-margin to center dashboard elements #192 2017-09-09 18:39:17 +02:00
Henrik Lissner
1a8e3a04f3
Fix mode-line face & byte-compiler warnings
Fixes #184
2017-09-04 00:38:57 +02:00
Henrik Lissner
d2d71795e5 Merge branch 'develop'
* develop: (64 commits)
  Prepare for v2.0.5
  Temporarily disable doom-themes-visual-bell-config
  Fix neotree always changing root
  Update changelog
  Fix wrong-type-argument error from +org/insert-item
  Make +ivy-buffer-transformer autoloadable
  General refactor & cleanup
  Correct troubleshooting link in README
  org: set org-ellipsis to downward chevron
  Add elfeed-(show|search)-mode to evil-snipe-disabled-modes
  Autoload json library
  Rethink smartparens config #181
  README: expand troubleshooting
  Fix wiki links in README (again)
  Correct intro in README
  Fix wiki links in README
  Prevent private commands from affecting projectile cache
  Remove recentf-filename-handlers fix for projectile-recentf-files
  lang/sh: remove unused setup.sh
  Convert +ivy/switch-buffer to transformers + add mode icons #169
  ...
2017-09-03 23:32:23 +02:00
Henrik Lissner
90048fc019
Temporarily disable doom-themes-visual-bell-config
It currently conflicts with swapping backgrounds with solaire-mode.
2017-09-03 21:59:13 +02:00
Henrik Lissner
4ff80cf416
Add READMEs for several modules 2017-08-21 21:51:29 +02:00
Henrik Lissner
cbabf6849c
Standardize module READMEs 2017-08-21 20:13:31 +02:00
Benjamin Andresen
5879ca8517 Add: ui/doom-modeline: get shrink-path from MELPA 2017-08-13 17:19:48 +02:00
Benjamin Andresen
1e07c3d97f Fix: ui/doom-modeline: cleanups to file-name style 'file-name and 'relative-to-project 2017-08-12 00:52:55 +02:00
Benjamin Andresen
d4b3b050d3 Add: ui/doom-modeline: make buffer-file-name display configurable
Introduced variable +doom-modeline-buffer-file-name-style

The options available now:
(Given ~/Projects/FOSS/emacs/lisp/comint.el)

'truncate-upto-project => ~/P/F/emacs/lisp/comint.el
'truncate-upto-root => ~/P/F/e/lisp/comint.el
'truncate-all => ~/P/F/e/l/comint.el
'relative-to-project => lisp/comint.el
'file-name => comint.el
2017-08-12 00:29:26 +02:00
Benjamin Andresen
85a085ca2f
Add: ui/doom-modeline: show project-root but truncated 2017-08-11 17:30:52 +02:00
Benjamin Andresen
94e5fda871 Fix: ui/doom-modeline: segment bar has to return "" in any case to not break -nw
Amoriello found this fix in issue #170
2017-08-11 17:27:04 +02:00
Henrik Lissner
ab5c87bae9
Add solaire-mode-swap-bg 2017-08-09 21:22:00 +02:00
Henrik Lissner
749553993d
Remove org-mode custom fontification
This has been merged into doom-themes.
2017-08-03 21:24:08 +02:00
Henrik Lissner
1d15a22bc3
Rix 'reload last session' button on dashboard 2017-07-26 15:45:01 +02:00
Henrik Lissner
903f5b1a80
New function: doom|disable-vi-tilde-fringe 2017-07-19 00:25:05 +02:00
Henrik Lissner
e6658b7d8e
General minor refactor 2017-07-19 00:25:05 +02:00
Henrik Lissner
6569246067
Force refresh dashboard on kill-buffer-query 2017-07-05 12:26:11 +02:00
Henrik Lissner
2b5eb5763f
Use new font/theme settings in ui/doom 2017-07-05 02:59:17 +02:00
Henrik Lissner
8c1fb1e6b2
+doom:scratch-buffer => doom/scratch-buffer 2017-07-03 03:39:18 +02:00
Henrik Lissner
c34620f20f
ui/doom-modeline: update README
Improve instructions in "extracting my modeline" as discussed in #136.
2017-07-02 16:49:07 +02:00
Henrik Lissner
06b5ee8fb8
Refactor ui/doom-modeline 2017-07-02 16:48:31 +02:00
Henrik Lissner
cca37f2508
Add doom-(pre|post)-reload-theme-hook 2017-06-29 14:58:10 +02:00
Henrik Lissner
7fc9cb5511
Add ui/tabbar 2017-06-29 14:55:24 +02:00
Henrik Lissner
ba7bc03cf6
Add an icon to modeline for narrowed buffers 2017-06-28 17:38:15 +02:00
Henrik Lissner
8f22c64e80
ui/doom-dashboard: minor refactor 2017-06-28 16:30:53 +02:00
Henrik Lissner
ecd8ad0f46
Change how themes, fonts & modelines are loaded
WARNING: THIS IS A BREAKING CHANGE FOR THEME/FONT/NLINUM CUSTOMIZATIONS.

This change was motivated by the need to decouple theme and font loading
from the ui/doom module.

Now, it is doom-core's purview. Theme and fonts are loaded after
initfiles are read (attached to the doom-init-ui-hook hook), giving
other modules (especially private ones) a chance to change the theme or
fonts.

+ Refactor core-ui.el
+ New init hook: doom-init-ui-hook
+ Decouple theme/font loading from ui/doom
+ Load modelines are doom-init-ui-hook
+ New theme/font variables (replaces old ui/doom variables)
  + doom-theme
  + doom-font
  + doom-variable-pitch-font
  + doom-unicode-font
+ Change nlinum variables
  + doom-line-number-lpad
  + doom-line-number-rpad
  + doom-line-number-pad-char

Addresses #117
2017-06-28 16:18:24 +02:00
Henrik Lissner
a04d4a6352
Add buffer-file-name check to vcs segment #130 2017-06-28 12:26:50 +02:00
Henrik Lissner
c493ad80f4
ui/doom-dashboard: refactor 2017-06-25 02:01:05 +02:00
Henrik Lissner
e595f20cd0
Fix dashboard opening over files via emacsclient
Fixes #119
2017-06-25 02:00:01 +02:00
Henrik Lissner
46b3f06f50
Remove :load-path for doom-themes 2017-06-23 03:13:21 +02:00
Henrik Lissner
392c58ea47
General refactor & cleanup 2017-06-19 00:32:45 +02:00