Permalink
Browse files

Simplify the mode-line.

  • Loading branch information...
winfred-lu committed Sep 7, 2013
1 parent d6ced6e commit 778a0e84eaf77fe4bc065e4e8ba2a62a83ba0254
Showing with 18 additions and 1 deletion.
  1. +18 −1 winfred-visual.el
View
@@ -19,7 +19,7 @@
(setq sentence-end-double-space nil)
;; Disable '\' character in line wrapping
-(set-display-table-slot standard-display-table 'wrap ?\ )
+;(set-display-table-slot standard-display-table 'wrap ?\ )
;; Show the matching parens
(show-paren-mode t)
@@ -46,3 +46,20 @@
mode
'(("\\<\\(FIXME\\)\\>" 1 font-lock-warning-face t))))
fixme-modes))
+
+;; mode-line settings
+(setq-default
+ mode-line-format
+ '("%e"
+ ;; read-only or modified status
+ (:eval (cond (buffer-read-only "RO ")
+ ((buffer-modified-p) "** ")
+ (t " ")))
+ mode-line-buffer-identification
+ mode-line-position
+ evil-mode-line-tag
+ (vc-mode vc-mode)
+ " "
+ mode-line-modes
+ mode-line-misc-info
+ ))

0 comments on commit 778a0e8

Please sign in to comment.