Commit graph

752 commits

Author SHA1 Message Date
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
Henrik Lissner
7d081c3154
Fix subr-x macro autoloads 2017-06-18 23:43:08 +02:00
Henrik Lissner
a299621ff8
Adjust v-adjust of flycheck icons in modeline
Some icons drooped too low (and others too high).

OCD INTENSIFIES
2017-06-18 23:43:02 +02:00
Henrik Lissner
79fbe56b76 modeline: tweak modified icon v-adjust 2017-06-17 22:43:59 +02:00
Henrik Lissner
3e769dc43f
Add gg/G & N/P keybindings to dashboard 2017-06-16 02:10:33 +02:00
Henrik Lissner
2dc6ea0f53
Refactor +doom-dashboard-reload 2017-06-16 00:43:19 +02:00
Henrik Lissner
a3adc1de29
Fix dashboard in daemon/clients (#111) 2017-06-16 00:12:15 +02:00
Henrik Lissner
c958f1eafd
Move italic customization to private module 2017-06-15 15:09:31 +02:00
Henrik Lissner
523fa5088e
Tweak & reorder modeline segments
+ Improves modeline appearance in terminal Emacs
+ Moves version control branch to righter-most edge to minimize uneven
  spacing when all-the-icon icons are present (due to their non-uniform
  widths).
+ Switches from octicon to material iconset for flycheck segment (more
  consistent and look better).
2017-06-14 21:16:02 +02:00