all repos — nixfiles @ ec98ea4a059ce4f70b9986a853d6b2131a625391

System and user configuration, managed by nix and home-manager

Emacs: remove modeline configuration
Alan Pearce alan@alanpearce.eu
Mon, 14 Jan 2019 20:03:07 +0100
commit

ec98ea4a059ce4f70b9986a853d6b2131a625391

parent

24c97bf5cf5b40f2672b4b23e1111ec05f79727f

1 files changed, 0 insertions(+), 44 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -227,34 +227,9 @@ (unless (eq (char-displayable-p ?─) (char-displayable-p ?a))               (set-fontset-font "fontset-default"
                                 (cons page-break-lines-char page-break-lines-char)
                                 (face-attribute 'default :family)))))
-;;;;; Modeline
-
-(column-number-mode -1)
-(line-number-mode -1)
-(size-indication-mode t)
-
 (require 'f)
 (setq frame-title-format (list "Emacs"))
 
-;;;;; Spaceline
-
-(use-package spaceline-config
-  :after (eyebrowse projectile flycheck)
-  :config (progn
-            (setq powerline-default-separator 'bar
-                  powerline-height (* 2  (ceiling (* (default-font-height) (+ 1 (* 2 line-spacing))) 2))
-                  spaceline-responsive nil)
-            (define-hook-helper after-setting-font ()
-              :name resize-powerline
-              (setq powerline-height (* 2  (ceiling (* (default-font-height) (+ 1 (* 2 line-spacing))) 2)))
-              (if (not (daemonp))
-                  (setq mode-line-format (spaceline-spacemacs-theme)))
-              (setq-default mode-line-format (spaceline-spacemacs-theme)))
-            (setq spaceline-highlight-face-func #'spaceline-highlight-face-evil-state)
-            (if (not (daemonp))
-                (setq mode-line-format (spaceline-spacemacs-theme)))
-            (setq-default mode-line-format (spaceline-spacemacs-theme))))
-
 ;;;;; Chrome
 
 (setq-default cursor-in-non-selected-windows nil)
@@ -269,25 +244,6 @@ window-divider-default-places t)   (window-divider-mode +1))
 
 ;;;;; Renaming major modes
-
-;; Diminishing major modes does not happen in the same manner as minor
-;; modes.
-
-(use-package cyphejor
-  :defer 2
-  :config (progn
-            (setq cyphejor-rules `(("emacs"       "ε")
-                                   ("diff"        "Δ")
-                                   ("js2"         "js")
-                                   ("magit-status" ,(char-to-string (seq-find #'char-displayable-p '(11942 5848 177))))
-                                   ("inferior"    "i" :prefix)
-                                   ("interaction" "i" :prefix)
-                                   ("interactive" "i" :prefix)
-                                   ("menu"        "▤" :postfix)
-                                   ("ledger"      "Ledger")
-                                   ("mode"        "")
-                                   ("shell"       "sh" :postfix)))
-            (cyphejor-mode 1)))
 
 
 ;;;; Environment Variables