Commit graph

167 commits

Author SHA1 Message Date
Vonfry
9c3f05a4cc
readme: add gnus custom variable description 2020-05-27 23:49:38 +08:00
Vonfry
9a11bfa7e8
readme: gnus comment about doom-modeline-gnus-timer 2020-05-27 23:41:19 +08:00
Jake Romer
b44a48312d
Rename variable, omit adjacent space if omitting persp icon
- Rename toggle to `doom-modeline-persp-icon`
- Omits adjacent `doom-modeline-vsp` if omitting persp icon
2020-04-23 11:15:56 -04:00
Jake Romer
46d62072dc
Make persp mode indicator icon toggleable
By default the persp name is displayed with a folder icon. This patch makes the
icon toggleable via `doom-modeline-display-persp-icon'.
2020-04-23 07:38:01 -04:00
ANGkeith
244200f87d buffer-info: add truncate-nil style 2020-04-17 13:39:11 +08:00
Vincent Zhang
41015d72e7 Change the default value of doom-modeline-window-width-limit. 2020-02-25 04:40:35 +08:00
Ying Kanyang (Harry Ying)
3974e50b53
Fix issue with use-package installation
One `)` missing
2020-02-23 10:07:20 +08:00
Vincent Zhang
a25dc7267e [Feature] Simplify buffer name and others when the window is small.
1. Introduce an option: doom-modeline-window-width-limit.
2. Check if the window is small (window-width <=
doom-modeline-window-width-limit) while window size is changed.
3. Only display buffer name when the window is snall.
4. Don't display pers-name when the window is small.
2020-02-23 04:21:58 +08:00
Vincent Zhang
65af9de491 Remove redundant codes for refreshing buffer file name. 2020-02-20 01:40:45 +08:00
Vincent Zhang
25af2880de Suppress compiler warnings. 2020-02-19 13:16:29 +08:00
Vincent Zhang
af24cb1106 Update FAQ.
Close #311.
2020-02-19 12:38:10 +08:00
Vincent Zhang
ffee20bac9 Introduce `doom-modeline-icon-inactive' face.
See #301.
To display the icons in inactive windows correctly.
2020-02-12 17:17:10 +08:00
Vincent Zhang
43a78ad7eb [Feature] Introduce `auto' style for buffer file names.
Close #179.

`auto' style is the default style now.

Given ~/Projects/FOSS/emacs/lisp/comint.el
  auto => emacs/lisp/comint.el (in a project) or comint.el
  truncate-upto-project => ~/P/F/emacs/lisp/comint.el
  truncate-from-project => ~/Projects/FOSS/emacs/l/comint.el
  truncate-with-project => emacs/l/comint.el
  truncate-except-project => ~/P/F/emacs/l/comint.el
  truncate-upto-root => ~/P/F/e/lisp/comint.el
  truncate-all => ~/P/F/e/l/comint.el
  relative-from-project => emacs/lisp/comint.el
  relative-to-project => lisp/comint.el
  file-name => comint.el
  buffer-name => comint.el<2> (uniquify buffer name)"
2020-02-11 01:51:52 +08:00
Vincent Zhang
6fcf65d2ef Update README. 2020-01-11 00:42:04 +08:00
Vincent Zhang
417a3b1620 Update LICENSE. 2020-01-11 00:35:36 +08:00
Vincent Zhang
a1e6ca3274 Disable minor-modes and mu4e indicators by default. 2019-12-31 18:32:26 +13:00
Melkor333
3b2df9ab56 Add basic gnus support without any other dependency than gnus 2019-12-18 01:19:55 +01:00
Vincent Zhang
0e3abf8ccc Update README.
Close #276.
2019-12-06 00:13:14 +08:00
Vincent Zhang
874c421222 Update README. 2019-11-30 01:17:34 +08:00
Vincent Zhang
10ff30dbcd Update README. 2019-11-24 22:09:54 +08:00
Jake Romer
ad33d3a97e
Update README 2019-11-24 08:10:11 -05:00
Jake Romer
bf03231304
Add continuously displayed word count segment.
Introduces `doom-modeline-continuous-word-count-modes`, a customizable list
of major modes in which display a word count continuously when
`doom-modeline-enable-word-count' is non-nil.

```lisp
;; Major modes in which to display word count continuously.
;; Respects `doom-modeline-enable-word-count'.
(setq doom-modeline-continuous-word-count-modes '(markdown-mode org-mode))
```
2019-11-23 22:03:09 -05:00
Vincent Zhang
2b9a43d0de Update README. 2019-11-23 18:02:15 +08:00
Vincent Zhang
759f30ee8b Not triggering CI if only docs are updated. 2019-11-23 17:38:27 +08:00
Vincent Zhang
d646a1f1da Update README. 2019-11-23 16:53:53 +08:00
Vincent Zhang
d6165e6f3c Change doom-modeline-evil-state-icon to doom-modeline-modal-icon.
See #265.
2019-11-22 18:33:43 +08:00
Vincent Zhang
8d55840353 Fix typo in README.
Close #264.
2019-11-20 11:45:54 +08:00
Vincent Zhang
11d42282f2 Add irc-buffers segment to the special mode-line.
Close #260.
Remove option: doom-modeline-irc-buffers.
Update special mode-line.
2019-11-19 23:45:33 +08:00
Vincent Zhang
6a3b0639c6 [Feature] Support rcirc. 2019-11-18 04:07:34 +08:00
Vincent Zhang
cfbe795ab3 Add IRC screenshots. 2019-11-18 00:41:13 +08:00
Vincent Zhang
5c715d9d78 Update docs. 2019-11-18 00:01:27 +08:00
Vincent Zhang
dcc57fd45e Merge irc and irc-buffers segment.
Provide the new option: doom-modeline-irc-buffers.
2019-11-17 01:20:27 +08:00
Vincent Zhang
17e9750a5a Update screenshots. 2019-11-16 16:41:16 +08:00
Vincent Zhang
6ce7864a1e Update doc for modal state icon
Close #258.
2019-11-16 13:30:22 +08:00
Vincent Zhang
ff28d4e16b Enhance irc segment. 2019-11-16 02:57:54 +08:00
Vincent Zhang
a80cf92417 Don't enable unicode characters fallback by default.
Close #254.
2019-11-12 01:27:22 +08:00
Vincent Zhang
25cd013c03 Fix typo. 2019-11-08 17:57:58 +08:00
Vincent Zhang
e93660e93f [Feature] Support evil state icon.
New option: doom-modeline-evil-state-icon.
The fallback is the unicode character.
Update evil state faces.
2019-11-06 00:37:41 +08:00
Vincent Zhang
271e840832 Update docs for displaying icons when using server.
Close #247.
2019-10-31 16:49:09 +08:00
Vincent Zhang
a19d82e8cf Revert to doom-modeline-major-mode-icon and doom-modeline-major-mode-color-icon as suggested. 2019-10-26 00:06:10 +08:00
Vincent Zhang
b76ff9b5d6 Fix #235: it's not possible to disable icon colours.
Rename doom-modeline-color-icons to doom-modeline-buffer-color-icon.
2019-10-25 05:57:02 +08:00
Vincent Zhang
54fe24786a [New] Option: doom-modeline-number-limit.
The maximum number displayed for notifications.
2019-10-25 01:58:28 +08:00
Vincent Zhang
93135d4220 [Feature] Use built-in battery instead of unmaintained fancy-battery.
See 9b88ae77a0.
2019-10-25 01:28:57 +08:00
Vincent Zhang
22b14c9b8e [NEW] Options: doom-modeline-color-icons & doom-modeline-buffer-icon
Deprecate doom-modeline-major-mode-color-icon and doom-modeline-major-mode-icon.
2019-10-24 20:28:26 +08:00
Vincent Zhang
cfb45c8eef [Feature] Unicode and ASCII fallbacks.
Enhance the segments.
Remove doom-modeline-persp-name-icon.
Refactor.
See #218.
2019-10-23 02:50:04 +08:00
Vincent Zhang
f6584d45b3 New option: doom-modeline-project-detection.
How to detect the project root.
The default priority of detection is `ffip' > `projectile' > `project'.
nil means to use `default-directory'.
The project management packages have some issues on detecting project root.
e.g. `projectile' doesn't handle symlink folders well, while `project' is unable
to hanle sub-projects.
You can specify one if you encounter the issue.

For more details, refer to #209.

Close #224.
2019-10-17 00:14:24 +08:00
Vincent Zhang
e9cd72fd2a Refactor. 2019-10-13 20:48:14 +08:00
Vincent Zhang
67ef88a9c9 Update README. 2019-09-29 00:07:14 +08:00
Vincent Zhang
7f00fe794f Update README. 2019-09-29 00:05:22 +08:00
Vincent Zhang
b117f2e869 Support find-file-in-project. 2019-09-09 17:18:26 +08:00