Update mode line settings

This commit is contained in:
Marcus Kammer 2020-11-26 17:49:32 +01:00
parent 440afb2a05
commit 02960cb4e5

View file

@ -6,13 +6,19 @@
(global-hl-line-mode 1) (global-hl-line-mode 1)
(define-key menu-bar-tools-menu [games] nil) (define-key menu-bar-tools-menu [games] nil)
(display-time-mode 1) (display-time-mode 1)
(setq-default display-time-24hr-format t)
(global-prettify-symbols-mode 1) (global-prettify-symbols-mode 1)
(setq-default mode-line-format (setq-default mode-line-format
(list "-" (list "-"
(system-name) 'system-name
" "
'display-time-string
"-"
'mode-line-frame-identification 'mode-line-frame-identification
"%b " "%b "
'(line-number-mode "%l ") '(line-number-mode "%l ")
'mode-line-process
"%n"
'(:eval (when-let (vc vc-mode) '(:eval (when-let (vc vc-mode)
(list (substring vc 5) " "))))) (list (substring vc 5) " ")))))
@ -41,6 +47,7 @@
(setq-default shell-file-name "/bin/bash") (setq-default shell-file-name "/bin/bash")
(setq-default tex-shell-file-name "/bin/bash")) (setq-default tex-shell-file-name "/bin/bash"))
;; Files and sessions ;; Files and sessions
(setq-default auto-save-timeout 60) (setq-default auto-save-timeout 60)