From ec98ea4a059ce4f70b9986a853d6b2131a625391 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 14 Jan 2019 20:03:07 +0100 Subject: Emacs: remove modeline configuration --- emacs/.emacs.d/main.el | 44 -------------------------------------------- 1 file changed, 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 -- cgit 1.4.1