Optimize mode line and locale settings

This commit is contained in:
Marcus Kammer 2020-11-26 20:54:37 +01:00
parent 83fc3f0d9a
commit b2cb7a13d6

View file

@ -8,19 +8,6 @@
(setq-default display-time-24hr-format t)
(display-time-mode 1)
(global-prettify-symbols-mode 1)
(setq-default mode-line-format
(list "-"
'system-name
" "
'display-time-string
"-"
'mode-line-frame-identification
"%b "
'(line-number-mode "%l ")
'mode-line-process
"%n"
'(:eval (when-let (vc vc-mode)
(list (substring vc 5) " ")))))
;; Cursor and mouse
(column-number-mode -1)
@ -39,10 +26,11 @@
(car
(calendar-iso-from-absolute
(calendar-absolute-from-gregorian
(list month day year)))))
(list year month day )))))
'font-lock-face 'font-lock-function-name-face))
(setq-default ispell-program-name "aspell")
(setq-default grep-command "grep -i -nH -e ")
(setq-default display-time-format "W%W %F %R")
(when (eq system-type 'gnu/linux)
(setq-default shell-file-name "/bin/bash")
(setq-default tex-shell-file-name "/bin/bash"))
@ -82,3 +70,18 @@
(width . 85)
(height . 70)
(fullscreen . fullscreen)))
;; Mode line
(setq-default mode-line-format
(list "-"
'system-name
" "
'display-time-string
"-"
'mode-line-frame-identification
"%b "
'(line-number-mode "%l ")
'mode-line-process
"%n"
'(:eval (when-let (vc vc-mode)
(list (substring vc 5) " ")))))