Commit graph

1071 commits

Author SHA1 Message Date
Vincent Zhang
0941b14fb2
Merge pull request #268 from jmromer/add-word-count
Add continuously displayed word count segment.
2019-11-24 07:30:17 -06:00
Jake Romer
ad33d3a97e
Update README 2019-11-24 08:10:11 -05:00
Jake Romer
c87555de4f
Propertize active case 2019-11-24 08:06:19 -05:00
Jake Romer
0bba9c4db8
Use derived-mode-p 2019-11-24 08:00:02 -05:00
Jake Romer
d4b4ea4d61
Display wc in inactive mode-lines 2019-11-24 07:40:14 -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
711bc49106 Format. 2019-11-24 01:20:47 +08:00
Vincent Zhang
8806da711c Improve macro indicator. 2019-11-24 01:18:54 +08:00
Vincent Zhang
2b9a43d0de Update README. 2019-11-23 18:02:15 +08:00
Vincent Zhang
61868f0b15 Update travis ci. 2019-11-23 17:45:50 +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
188b2bda5f Update face: doom-modeline-buffer-timemachine. 2019-11-23 01:44:31 +08:00
Vincent Zhang
53306d3fdf Revert "vcs: also add vcs modeline hook for magit-status"
This reverts commit 666292cb83.
2019-11-23 01:23:36 +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
c70bb0c39d Update github unicode character. 2019-11-22 18:04:05 +08:00
Vincent Zhang
c360e99d43 Fix #266: Icons are used even if doom-modeline-icon is set to nil. 2019-11-22 17:23:17 +08:00
Vincent Zhang
7b1fc68942
Merge pull request #267 from seanfarley/smf/irc-fix-active
vcs: also add vcs modeline hook for magit-status
2019-11-21 18:32:42 -06:00
Sean Farley
666292cb83 vcs: also add vcs modeline hook for magit-status 2019-11-20 23:19:04 -08:00
Sean Farley
f252bf1cb9 segments: remove checks for irc being active
Since we now have two different segments for irc-buffers and irc (just
the notification), it doesn't seem to make sense to check for whether
the irc buffers are active. With two different segments, a user can just
add or remove the segment they want.
2019-11-20 22:03:46 -08:00
Vincent Zhang
7a44cbc1cc Add doom-modeline-add-variable-watcher. 2019-11-21 01:36:09 +08:00
Vincent Zhang
0dd6a32b7e Adjust the position of the buffer icon. 2019-11-21 00:44:07 +08:00
Vincent Zhang
01eb33201f Update comments. 2019-11-20 23:40:56 +08:00
Vincent Zhang
2b8dd0a486 Refactor. 2019-11-20 23:31:34 +08:00
Vincent Zhang
b697bb14df Improve grip segment. 2019-11-20 23:18:16 +08:00
Vincent Zhang
694647c395 Improve git-timemachine segment. 2019-11-20 22:56:38 +08:00
Vincent Zhang
54bc32359a Add vcs mode-line. 2019-11-20 22:09:18 +08:00
Vincent Zhang
192f2f1475 Refactor icons.
1. Remove functions: doom-modeline-icon-xxx.
2. Refactor doom-modeline-update-buffer-file-icon.
2019-11-20 18:45:36 +08:00
Vincent Zhang
8d55840353 Fix typo in README.
Close #264.
2019-11-20 11:45:54 +08:00
Vincent Zhang
9decb80306 Refactor irc segment. 2019-11-20 00:14:16 +08:00
Vincent Zhang
b1ad832208 Remove extra space in buffer-encoding segment. 2019-11-19 23:55:15 +08:00
Vincent Zhang
2d7928a328 Improve debug segment. 2019-11-19 23:50:47 +08:00
Vincent Zhang
ba6cc1d425 Fix: not displaying the battery segment in all windows. 2019-11-19 23:45:48 +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
7c0e93d0d9 Allow emacs-git-snapshot failures. 2019-11-19 00:10:41 +08:00
Vincent Zhang
45ce4ec9fe Improve irc buffers. 2019-11-18 04:19:34 +08:00
Vincent Zhang
df21135efb Update state icon for rcirc buffers. 2019-11-18 04:15:13 +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
882587f4a5
Merge pull request #262 from jmromer/add-default-pers-option
Introduce `doom-modeline-display-default-perspective-name`
2019-11-17 09:56:22 -06:00
Jake Romer
983f1ae381
Introduce doom-modeline-display-default-perspective-name
Adds a customizable option to toggle displaying the default perspective's name
on the modeline. Updates `doom-modeline-update-persp-name` to respect it.
2019-11-17 10:06:33 -05:00
Vincent Zhang
3d2862c654 Refactor. 2019-11-17 16:19:51 +08:00
Vincent Zhang
b60937c4a9 Display the numbers of unread irc buffers. 2019-11-17 16:12:55 +08:00
Vincent Zhang
23798f81f8 Eliminate warnings. 2019-11-17 16:00:20 +08:00
Vincent Zhang
a39912d30c Revert "Optimize irc segment."
This reverts commit e81906bc1f.
2019-11-17 15:54:46 +08:00
Vincent Zhang
9e88571ffb Refactor github segment. 2019-11-17 15:24:37 +08:00
Vincent Zhang
60e47c849c Revert "Optimize github segment."
This reverts commit 3b0ef2c22c.
2019-11-17 15:09:27 +08:00
Vincent Zhang
8bb4f0ea97 Fix black glitches in battery segment. 2019-11-17 15:08:11 +08:00
Vincent Zhang
de8f84f7ff Bump version. 2019-11-17 03:01:38 +08:00