emacs.d/bundle/display.el

55 lines
2.1 KiB
EmacsLisp
Raw Normal View History

2020-02-16 13:26:17 +01:00
;; General userinterface and appearance
(tool-bar-mode -1) ; No toolbar
(menu-bar-mode -1) ; No Menubar
(set-scroll-bar-mode 'right) ; Scrollbar on the right
2020-02-16 13:30:20 +01:00
(scroll-bar-mode -1) ; No scrollbar
2020-02-16 13:26:17 +01:00
(global-font-lock-mode t) ; Color enabled
(global-prettify-symbols-mode t) ; Prettify symbols
(global-hl-line-mode 1) ; Highlight cursor line
(global-whitespace-mode 1) ; Show whitespace globally
(show-paren-mode 1) ; Visual matching parens
2020-02-16 20:24:29 +01:00
(global-display-line-numbers-mode -1) ; Display line numbers
;; Mode line specific
2020-02-16 13:26:17 +01:00
(column-number-mode 1) ; Display column number in the mode line
(size-indication-mode -1) ; Display buffer size in the mode line
(line-number-mode 1) ; Display line number in the mode line
2020-02-19 22:45:37 +01:00
(display-battery-mode -1) ; Display battery status in the mode line
(display-time-mode -1) ; Display time in the mode line
2020-02-16 13:26:17 +01:00
(add-to-list 'default-frame-alist '(fullscreen . maximized)) ; Maximize Window
2020-02-15 18:21:38 +01:00
(add-to-list 'default-frame-alist '(font . "Iosevka Term-14"))
2020-02-24 17:00:22 +01:00
2020-02-16 20:24:29 +01:00
(when (eq system-type 'gnu/linux)
(add-to-list 'default-frame-alist '(undecorated . t)))
2020-02-16 13:26:17 +01:00
(setq-default
echo-keystrokes 0.02
column-number-indicator-zero-based nil
prettify-symbols-unprettify-at-point 'right-edge
show-paren-delay 0
show-paren-style 'expression
whitespace-style '(tab-mark)
font-lock-maximum-decoration t
fill-column 72
indicate-buffer-boundaries 'left
display-line-numbers-grow-only t
display-line-numbers-type (quote relative)
display-line-numbers-widen nil
2020-02-19 16:55:21 +01:00
)
(when (eq system-type 'windows-nt)
(when (string= (system-name) "EVG02667NB")
(add-to-list 'default-frame-alist '(font . "Iosevka Term-12"))))
2020-03-09 08:43:32 +01:00
(when (eq system-type 'gnu/linux)
(when (string= (system-name) "XPS-8930.local")
(add-to-list 'default-frame-alist '(font . "Iosevka Term-12"))))
2019-11-18 21:15:25 +01:00
2019-11-14 13:00:42 +01:00
(provide 'display)
2019-12-08 10:09:47 +01:00
;; Local Variables:
2020-02-15 15:21:26 +01:00
;; mode: emacs-lisp
2019-12-08 10:09:47 +01:00
;; coding: utf-8
;; fill-column: 79
;; lisp-indent-offset: 2
;; End: