Tweak modeline design
This commit is contained in:
parent
a51fb5753a
commit
f662bb72b3
1 changed files with 9 additions and 5 deletions
|
@ -167,7 +167,8 @@
|
||||||
(when vc
|
(when vc
|
||||||
(format " %s %s%s " (char-to-string #xe0a0) vc
|
(format " %s %s%s " (char-to-string #xe0a0) vc
|
||||||
(case (vc-state buffer-file-name) ('edited "+") ('conflict "!!!") (t "")))))
|
(case (vc-state buffer-file-name) ('edited "+") ('conflict "!!!") (t "")))))
|
||||||
:when (and active vc-mode))
|
:when (and active vc-mode)
|
||||||
|
:tight t)
|
||||||
|
|
||||||
(spaceline-define-segment narf-hud
|
(spaceline-define-segment narf-hud
|
||||||
"A HUD that shows which part of the buffer is currently visible."
|
"A HUD that shows which part of the buffer is currently visible."
|
||||||
|
@ -192,13 +193,16 @@
|
||||||
;; Left side
|
;; Left side
|
||||||
'((narf-buffer-dir :face other-face)
|
'((narf-buffer-dir :face other-face)
|
||||||
(narf-buffer-path remote-host)
|
(narf-buffer-path remote-host)
|
||||||
(narf-vc)
|
narf-vc
|
||||||
((flycheck-error flycheck-warning flycheck-info) :face other-face :when active))
|
((flycheck-error flycheck-warning flycheck-info) :when active))
|
||||||
;; Right side
|
;; Right side
|
||||||
'(selection-info
|
'(selection-info
|
||||||
narf-env-version
|
narf-env-version
|
||||||
narf-buffer-encoding-abbrev
|
narf-buffer-encoding-abbrev
|
||||||
(major-mode (minor-modes :separator " ") process :when active)
|
((" " :tight t)
|
||||||
|
major-mode
|
||||||
|
(minor-modes :separator " ")
|
||||||
|
process :when active)
|
||||||
(global :when active)
|
(global :when active)
|
||||||
narf-buffer-position
|
narf-buffer-position
|
||||||
narf-hud)))
|
narf-hud)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue