Skip to content

Instantly share code, notes, and snippets.

@AlejandroCatalina
Created January 9, 2016 08:27
Show Gist options
  • Save AlejandroCatalina/1f86880b2fc873cc2b88 to your computer and use it in GitHub Desktop.
Save AlejandroCatalina/1f86880b2fc873cc2b88 to your computer and use it in GitHub Desktop.
(spaceline-define-segment evil-state-custom (upcase (format "%S" evil-state)))
;; Install it along the other segments, place it wherever you want
(spaceline-install
'(((persp-name workspace-number window-number evil-state-custom)
:fallback evil-state
:separator "|"
:face highlight-face)
anzu
auto-compile
(buffer-modified buffer-size buffer-id remote-host)
major-mode
((flycheck-error flycheck-warning flycheck-info)
:when active)
(((minor-modes :separator spaceline-minor-modes-separator)
process)
:when active)
(erc-track :when active)
(version-control :when active)
(org-pomodoro :when active)
(org-clock :when active)
nyan-cat)
'((battery :when active)
selection-info
((buffer-encoding-abbrev
point-position
line-column)
:separator " | ")
(global :when active)
buffer-position
hud))
(spaceline-install
'(((persp-name workspace-number window-number evil-state-custom)
:fallback evil-state
:separator "|"
:face highlight-face)
anzu
auto-compile
(buffer-modified buffer-size buffer-id remote-host)
major-mode
((flycheck-error flycheck-warning flycheck-info)
:when active)
(((minor-modes :separator spaceline-minor-modes-separator)
process)
:when active)
(erc-track :when active)
(version-control :when active)
(org-pomodoro :when active)
(org-clock :when active)
nyan-cat)
'((battery :when active)
selection-info
((buffer-encoding-abbrev
point-position
line-column)
:separator " | ")
(global :when active)
buffer-position
hud))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment