Vincent Zhang
1fd66c449c
Reset anzu state when isearch is done.
2018-10-18 02:27:14 +08:00
Pengji Zhang
1a2226b242
Stop byte-compiling modeline format functions
...
Otherwise there will be a bunch of `Unused lexical var` warnings if
the file is not byte-compiled beforehand.
2018-10-17 12:03:29 -04:00
Vincent Zhang
ce206c5a7a
Bump version to 0.5.1.
2018-10-15 20:32:28 +08:00
Vincent Zhang
9337faed5b
Optimize: cache project root.
...
Refer to https://github.com/seagle0128/doom-modeline/issues/32 .
2018-10-15 20:30:22 +08:00
Vincent Zhang
d8878379bc
Update vcs faces.
2018-10-07 12:26:29 +08:00
Vincent Zhang
90ec30d868
Bump version to 0.5.0.
2018-10-01 23:14:48 +08:00
Vincent Zhang
9bb4a71ff8
Fix: focus-in-hook and focus-out-hook are obsolete in Emacs27.
...
Use after-focus-change-function instead of them as suggestion.
2018-10-01 23:13:23 +08:00
Vincent Zhang
8d6aba5b4d
Merge branch 'master' of https://github.com/seagle0128/doom-modeline
2018-10-01 16:24:09 +08:00
Vincent Zhang
08b7d7621f
Update faces of window and workspace numbers.
2018-09-30 21:42:41 +08:00
Vincent Zhang
e0acf3863d
Refactor segment and modeline definitions.
2018-09-30 18:06:32 +08:00
Vincent Zhang
b70235290d
Fix: inactive bar face.
...
DO NOT use :inverse-video in this face since face-background gets invalid color
from :reverse-video faces.
2018-09-30 17:02:27 +08:00
Vincent Zhang
677dc9ab2c
Update workspace face.
2018-09-30 16:45:59 +08:00
Vincent Zhang
266cedffa9
Improve major-mode segment: add menus for major/minor modes.
2018-09-30 15:16:44 +08:00
Vincent Zhang
cd07d77c9f
Update faces of windown numbers.
2018-09-30 00:23:07 +08:00
Vincent Zhang
671553d18d
Put the bar to the left.
2018-09-29 22:58:24 +08:00
Vincent Zhang
fde317e967
Adjust mode-line height (25) and bar width (3).
2018-09-29 22:46:16 +08:00
Vincent Zhang
7f86ec193d
Revert "Improve major-mode segment: add menus for major/minor modes."
...
This reverts commit c5739f3f14
.
2018-09-29 19:21:19 +08:00
Vincent Zhang
c5739f3f14
Improve major-mode segment: add menus for major/minor modes.
2018-09-29 19:09:14 +08:00
Vincent Zhang
e4605cd361
Fix #30 : adjust mode-line bars with font size.
2018-09-29 17:14:43 +08:00
Vincent Zhang
52243514af
Fix #31 : support input-method.
2018-09-28 16:31:33 +08:00
Vincent Zhang
92b5bf5c79
Fix #29 : Handle project root is nil.
...
Exception: (wrong-type-argument stringp nil)
2018-09-26 17:20:04 +08:00
Vincent Zhang
f7a573906d
Update vc state on modeline while selecting the window.
...
This might address this issue:
Modeline VC branch name not updating on magit-checkout.
In doom-modeline, only show vc state in active window, so
it makes sense to update vc state while selecting the
window, and it won't bring performance issue.
Refer to:
https://github.com/hlissner/doom-emacs/issues/826
3d8e81b7e1
2018-09-25 00:05:01 +08:00
Vincent Zhang
b020f8b0a7
Merge 712b775f36 (diff-0ce4da53ad0195d3b7cf5888417057de)
.
2018-09-24 22:56:57 +08:00
Vincent Zhang
a22a895b7b
Fix: invalid shrinked file path when the file is not in a project.
...
Refer to
https://emacs-china.org/t/doom-modeline-doom-emacs-mode-line/6742/34?u=seagle0128 .
2018-09-24 22:39:36 +08:00
Vincent Zhang
299ef87829
Update modeline while refreshing vc.
2018-09-24 21:41:10 +08:00
Vincent Zhang
c3b3f802e4
Fix: missing doom-modeline-project-root-dir face.
2018-09-24 17:55:19 +08:00
Vincent Zhang
d3248df48e
Disable projectile mode-line segment.
...
Merge 7acece3e0b (diff-7c3c39ae74345187bff045ab23ca05bd)
2018-09-24 17:31:45 +08:00
Vincent Zhang
3d8e81b7e1
Delete doom-modeline-magit-post-refresh due to the performance issue.
...
Workaround:
Revert the buffers manually.
(setq auto-revert-check-vc-info t) brings the same performance issue.
Refer to:
https://github.com/magit/magit/issues/2687
https://magit.vc/manual/magit/The-mode_002dline-information-isn_0027t-always-up_002dto_002ddate.html
2018-09-21 00:40:48 +08:00
Vincent Zhang
32963f4d29
Set default height to 23.
2018-09-18 00:09:43 +08:00
Vincent Zhang
8c982b8c30
Fix #27 : Visual block modeline indicator not shown.
2018-09-17 23:58:31 +08:00
Vincent Zhang
54c2824125
Slightly change evil-state.
2018-09-11 17:41:00 +08:00
Vincent Zhang
dcb106fb5f
Fix: don't use doom-modeline-error which is defined in doom-themes.
2018-09-11 17:33:39 +08:00
Vincent Zhang
bc06fadfc7
Update package description.
2018-09-11 00:38:31 +08:00
Vincent Zhang
ac186eb7d2
Use when-let instead of when-let* since it's kept in Emacs 26.1.
2018-09-10 23:00:26 +08:00
Vincent Zhang
ac0372958b
Show process status in all buffers.
2018-08-31 03:51:04 +08:00
Vincent Zhang
ad7c7ae7e4
Minor fix format.
2018-08-29 00:16:26 +08:00
Vincent Zhang
be0461a68c
Minor fix for compatibility.
2018-08-28 23:54:03 +08:00
Vincent Zhang
4ef58cdba6
Minor fix main.
2018-08-27 00:12:13 +08:00
Vincent Zhang
2ff2ab757c
Update comments.
2018-08-23 11:28:01 +08:00
Vincent Zhang
8ffa338004
Silent warnings.
2018-08-23 11:26:45 +08:00
Vincent Zhang
c800b62a19
Show perl version in the modeline.
2018-08-23 11:05:45 +08:00
Vincent Zhang
558ca30cdd
Merge pull request #20 from akash-akya/elixir-version
...
Show Elixir version in the modeline
2018-08-23 10:37:41 +08:00
Vincent Zhang
652bd78f15
Merge pull request #21 from akash-akya/multiple-cursors
...
Show multiple cursors count in the modeline panel
2018-08-23 10:37:00 +08:00
Dickby
f27c4fe194
Update doom-modeline.el
2018-08-23 01:58:44 +02:00
akash-akya
f9257e6c41
Show multiple cursors count in the modeline panel
2018-08-22 23:54:30 +05:30
akash-akya
86658d9f72
Show elixir version in the modeline
2018-08-22 23:50:50 +05:30
Vincent Zhang
4f95702d7f
Silent warnings.
2018-08-23 00:49:08 +08:00
Andy White
e8fc2e86b8
Add faces for evil indicator
2018-08-21 18:32:27 -04:00
Roman Kolesnikov
f1a22c1c90
Add variable for the python-version
2018-08-16 18:49:02 +02:00
Vincent Zhang
079762c85b
Optimize loading performance of mode-line.
2018-08-16 11:45:26 +08:00
Vincent Zhang
1adcc1f9a9
Better looks for window numbers.
2018-08-15 01:02:50 +08:00
Vincent Zhang
79bfab380c
Assign main mode-line to special buffers ("*scratch*" "*Messages*").
2018-08-14 21:39:59 +08:00
Vincent Zhang
74c84537bd
Fix: incorrect anzu display.
2018-08-14 17:35:36 +08:00
Vincent Zhang
aee0ad0994
Change mode-line height to 29.
2018-08-14 17:20:14 +08:00
Vincent Zhang
bd36eb9a98
Only show vcs and flycheck states in current window.
2018-08-14 15:40:13 +08:00
Vincent Zhang
176307f66c
Fix: remove anzu default mode-line.
2018-08-14 10:57:16 +08:00
Vincent Zhang
c48459b7c8
Improve vcs faces on mode-line.
2018-08-14 01:13:09 +08:00
Vincent Zhang
71694224c6
Bump version to 0.4.0.
2018-08-14 00:32:34 +08:00
Vincent Zhang
ec11fef2a5
Fix #17 : Undefined variable evil-ex-start-word-search.
2018-08-14 00:30:49 +08:00
Vincent Zhang
aa25e7b143
Set special buffers ("*scratch*" "*Messages*").
2018-08-14 00:28:45 +08:00
Vincent Zhang
051528a52a
Fix iedit subst.
2018-08-13 23:04:36 +08:00
Vincent Zhang
71c5047d3b
Remove unused codes for evil-anzu.
2018-08-13 22:55:45 +08:00
Vincent Zhang
69e3f08d5b
Fix when-let* for Emacs 25.
2018-08-13 22:03:57 +08:00
Vincent Zhang
415140b368
Fix: display anzu in mode-line.
2018-08-13 21:57:27 +08:00
Vincent Zhang
d9c49ac962
Port and refactor codes.
2018-08-13 19:00:39 +08:00
Vincent Zhang
c89048b529
Only enable process segment in the active window.
2018-08-13 11:01:08 +08:00
Vincent Zhang
82cca4bd57
Update package description.
2018-08-13 00:32:43 +08:00
Vincent Zhang
cbddf23923
Fix #16 : [Feature] process segment.
2018-08-13 00:14:32 +08:00
Vincent Zhang
c7ec4dbe8f
Add bar back since it impacts height of mode-line.
2018-08-12 02:42:05 +08:00
Vincent Zhang
7a4a275fce
Bump version to 0.3.0.
2018-08-12 01:51:52 +08:00
Vincent Zhang
dd93ffc199
Minor improve evil state.
2018-08-12 01:34:44 +08:00
Vincent Zhang
481021890d
Remove bar.
2018-08-12 01:28:07 +08:00
Vincent Zhang
435634083d
Highlight workspace number.
2018-08-12 01:27:18 +08:00
Vincent Zhang
226a15cf7d
Display window number clearer.
2018-08-12 01:25:41 +08:00
Vincent Zhang
af13c002d7
Fix #15 : evil mode indicator.
2018-08-12 01:23:03 +08:00
Vincent Zhang
99357b5675
Remove unused faces.
2018-08-11 22:21:12 +08:00
Vincent Zhang
4729437abd
Update keywords.
2018-07-30 15:01:47 +08:00
Vincent Zhang
c159a5cd91
Fix: env cmd errors on Windows.
2018-07-30 11:43:41 +08:00
Vincent Zhang
8af6cb74f6
Fix #11 : undefined function doom-modeline-fix-anzu-count.
2018-07-13 11:15:13 +08:00
Vincent Zhang
a020a1e021
Fix: incorrect mode-line while global-mode-string is empty.
2018-07-12 00:07:05 +08:00
Vincent Zhang
773382202e
Put the global segment to the first of the right panel.
2018-07-11 17:06:34 +08:00
Vincent Zhang
88b3f84bdd
Adjust global segment.
2018-07-11 16:53:22 +08:00
Vincent Zhang
776d8ed923
Fix warnings.
2018-07-11 15:23:23 +08:00
Vincent Zhang
e279915b51
Add some desctiptions.
2018-07-11 14:44:47 +08:00
Vincent Zhang
593f581952
Fix #10 : file-name not working if buffer unmodified.
2018-07-11 14:41:19 +08:00
Vincent Zhang
fefc9d9cfb
Fix format of global segment.
2018-07-11 14:39:25 +08:00
Vincent Zhang
501a930d32
Fix #9 : [Feature] More compatibility with regular Emacs modes.
2018-07-11 00:49:13 +08:00
Vincent Zhang
4d4ec2e856
Support global-mode-string in mode-line.
2018-07-10 15:22:20 +08:00
Vincent Zhang
845e0319d3
Fix #7 : text scale is only shown for positive values.
2018-07-07 12:52:48 +08:00
Vincent Zhang
320fe0ea34
Fix warnings.
2018-07-05 16:57:53 +08:00
Vincent Zhang
7607cc5c81
Use Homepage instead of URL.
2018-07-05 16:39:41 +08:00
Vincent Zhang
b3525926cb
Update doom-modeline.el
...
Remove duplicated codes.
2018-07-05 14:29:41 +08:00
Vincent Zhang
f1892f8954
Merge branch 'master' into develop
2018-07-05 14:23:23 +08:00
Vincent Zhang
1e655da4b5
Merge branch 'develop' of https://github.com/seagle0128/doom-modeline into develop
2018-07-05 14:02:10 +08:00
Vincent Zhang
774879ef0f
Update README and package descriptions.
2018-07-05 14:01:47 +08:00
Vincent Zhang
7665721db1
Update README and package descriptions.
2018-07-05 13:56:23 +08:00
Vincent Zhang
926a83360c
Fix errors for env versions in mode-line.
2018-07-04 02:24:34 +08:00
Vincent Zhang
258179ba7a
Fix env versions on mode-line.
2018-07-04 02:15:48 +08:00
Vincent Zhang
28f91fd925
Fix comments.
2018-07-03 21:44:37 +08:00
Vincent Zhang
ff3bd48b34
Always show window numbers in all frames.
2018-07-02 20:31:11 +08:00