emacs: add number of lines in file to mode-line

master
an 2020-04-09 02:20:17 -06:00
parent 5d853b2851
commit 5b401eac2b
1 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,9 @@
'("%+"
mode-line-buffer-identification
mode-line-modes
"%5l↑ %5c→ %5i= "
"%5l↑%3c→%6i⇆"
(:eval (number-to-string (count-lines (point-min) (point-max))))
""
mode-line-percent-position))
;; scrolling