summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-01-14 20:03:07 +0100
committerAlan Pearce2019-01-14 20:04:32 +0100
commitec98ea4a059ce4f70b9986a853d6b2131a625391 (patch)
treee1d21c853bb7262af47902a893f0cc6e738e1b59 /emacs
parent24c97bf5cf5b40f2672b4b23e1111ec05f79727f (diff)
downloadnixfiles-ec98ea4a059ce4f70b9986a853d6b2131a625391.tar.lz
nixfiles-ec98ea4a059ce4f70b9986a853d6b2131a625391.tar.zst
nixfiles-ec98ea4a059ce4f70b9986a853d6b2131a625391.zip
Emacs: remove modeline configuration
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el44
1 files changed, 0 insertions, 44 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 8ab9f3ab..294f21b9 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -227,34 +227,9 @@
               (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)
@@ -270,25 +245,6 @@
 
 ;;;;; 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