Commit graph

450 commits

Author SHA1 Message Date
Vincent Zhang
6f1864583b Eliminate warnings. 2020-11-21 00:08:34 +08:00
Arnaud Spiwack
ece3007641
Add support for Boon modal states (#388)
[Boon](https://github.com/jyp/boon) is a modal mode for Emacs. This
commit adds support for Boon in the modal segment.

Boon has four states:
- Command (like Evil's normal)
- Insert
- Special (mostly pass-through, much like Evil's Emacs mode)
- Off, used when Boon really doesn't know what to do. There is no real
  equivalent in Evil; this commit uses the same face as Evil's
  operator state for this one. It's arbitrary, but it probably doesn't
  matter too much.
2020-11-12 12:24:23 +08:00
Vincent Zhang
5cfc0251e0 Use buffer-list-update-hook instead of advising select-window.
Fix #386.
2020-11-02 23:55:50 +08:00
Vincent Zhang
86d91e891b [Feature] Add mouse actions to mu4e alert segment.
Close #382.
2020-10-05 21:58:04 +08:00
Vincent Zhang
538017a399 Suppress some segments when the window is small. 2020-10-01 12:38:56 +08:00
Vincent Zhang
214493b8a1 Improve github notification. 2020-08-28 01:10:04 +08:00
Jim Myhrberg
d8d04332f5
Add option to show/hide workspace-name in modeline (#371) 2020-08-24 10:30:46 +08:00
Alex Murray
9235985ff7
Add support for poke-line in buffer position segment 2020-08-18 12:30:58 +09:30
Vincent Zhang
160d7ac278 [Enhancement] support all flycehck error levels.
Support LSP customized levels.
See https://github.com/emacs-lsp/lsp-mode/issues/1961.
2020-08-02 23:32:27 +08:00
Vincent Zhang
5623f161f1 Add dashboard mode-line. 2020-07-25 14:24:18 +08:00
Vincent Zhang
15c859dc4b Fix invalid format in indent-info segment. 2020-07-23 21:35:53 +08:00
Vincent Zhang
df28fb2181 Improve buffer-default-directory segment. 2020-07-23 18:07:10 +08:00
Vincent Zhang
e27473dd23 Display buffer state in buffer-default-directory segment.
See #368.
2020-07-23 16:45:16 +08:00
Vincent Zhang
d7f187efc6
Merge pull request #367 from netromdk/improve-indent-info
Improve indent info by showing correct indent size by major mode
2020-07-22 15:14:43 +08:00
Morten Kristensen
203111a3af
Improve indent info by showing correct indent size by major mode
Instead of using `tab-width` for space indentation size, the correct indentation size variable is
tried detected per major mode. If nothing can be found, it will fall back to `tab-width` as before.
2020-07-21 18:47:19 +02:00
Vincent Zhang
8522d761e3 Integration with dired-narrow.
Close #368.
2020-07-22 00:05:29 +08:00
Vincent Zhang
7495a02f6e Display maximum 50+ for unread notifications due to Github API limitation. 2020-06-19 00:54:43 +08:00
Vincent Zhang
bdb06df001 seq-contains is obsolete since 27. 2020-06-10 22:46:29 +08:00
Eric Dallo
a19a24c8d6
Add repl segment for CIDER 2020-06-09 11:34:32 -03:00
Vincent Zhang
8e1cc53b8c
Merge pull request #344 from ericdallo/fix-debug-session-color-change
[debug] fix modeline color change for all buffers
2020-05-30 15:00:13 +08:00
Eric Dallo
ea53fe8454
Fix defvar-local 2020-05-28 15:02:33 -03:00
Eric Dallo
cf1ac1be52
Change color for all buffers 2020-05-28 14:21:45 -03:00
Vonfry
869564c3f6
gnus: fix seq-contains-p, use seq-contains instead
seq-contains-p is not defined in seq.el version 2.20 and emacs 26.3
2020-05-27 23:27:23 +08:00
Vonfry
285d44f267
gnus: use eval with gnus-group-unread instead of coding the macro here.
I think this is more compatible.
2020-05-27 23:17:23 +08:00
Vincent Zhang
2b30885767 New faces: doom-modeline-input-method and doom-modeline-input-method-alt. 2020-05-13 19:03:49 +08:00
Vincent Zhang
df56aad083 Format codes. 2020-05-02 12:34:44 +08:00
Vincent Zhang
515300f984 Don't trim the tag names in modal segment. 2020-05-01 21:45:48 +08:00
Vincent Zhang
f8214e8661 Eliminate warnings. 2020-05-01 18:26:40 +08:00
Morgan Smith
5090426eb2
Added ability to exclude gnus groups from unread count 2020-04-24 18:55:18 -04:00
Jake Romer
a37333ad7a
Replace and with when 2020-04-23 12:26:11 -04:00
Jake Romer
87de449996
Fix typo 2020-04-23 11:20:47 -04: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
Vincent Zhang
828b95d428 Fix incorrect face of pdf-pages while focusing out. 2020-04-18 15:24:20 +08:00
Vincent Zhang
5e3d2da9a7 Improve the face of input-method. 2020-04-16 18:57:24 +08:00
Vincent Zhang
b44955841a Exclude child frames while calculating window numbers. 2020-04-07 22:13:47 +08:00
Vincent Zhang
bead0d0cec [Feature] Integrate phi-search.
Close #212.
Add phi-search to matches segment.
2020-04-06 23:22:01 +08:00
Vincent Zhang
e8066aad42 Eliminate warnings. 2020-04-06 20:55:36 +08:00
Vincent Zhang
671a640a19 [Feature] Support rime input method. 2020-04-06 20:10:05 +08:00
Vincent Zhang
99e9bcf970 Fix the compatibility issue of the buffer icons.
See https://github.com/seagle0128/icons-in-terminal.el/issues/1.
2020-03-20 00:13:07 +08:00
Vincent Zhang
06a79f5c50 Update comments. 2020-03-12 01:26:09 +08:00
Vincent Zhang
883370eb16 [Feature] Support tab-bar-mode in workspace-name segment.
Close #317.
2020-03-12 01:22:04 +08:00
Vincent Zhang
5bffef2568 Allow fetching github notifications background. 2020-03-06 19:34:39 +08:00
Vincent Zhang
0df5585984 Update icon size. 2020-03-01 14:57:11 +08:00
Vincent Zhang
f541215023 Fix incorrect icons. 2020-02-28 15:13:35 +08:00
Vincent Zhang
9508fae617 Ensure the width and height are numbers. 2020-02-26 02:49:36 +08:00
Vincent Zhang
54574d9af3 [Optimize] Check if the buffer is modified timely.
Don't check in the hooks in case some cases are missing.
Moreover calling `buffer-modified-p' is fast.
It doesn't affect performance.
2020-02-25 20:18:01 +08:00
Vincent Zhang
0b13552514 doom-modeline-window-width-limit doesn't need to respect file-name style. 2020-02-23 20:29:13 +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
b88ec7fef7 Fix cut-off issue in unicode-fallback. 2020-02-22 23:47:44 +08:00