50 lines
1.9 KiB
EmacsLisp
50 lines
1.9 KiB
EmacsLisp
;; 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
|
|
(scroll-bar-mode -1) ; No scrollbar
|
|
(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
|
|
(global-display-line-numbers-mode -1) ; Display line numbers
|
|
;; Mode line specific
|
|
(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
|
|
(display-battery-mode -1) ; Display battery status in the mode line
|
|
(display-time-mode -1) ; Display time in the mode line
|
|
|
|
(add-to-list 'default-frame-alist '(fullscreen . maximized)) ; Maximize Window
|
|
(add-to-list 'default-frame-alist '(font . "Iosevka Term-14"))
|
|
(when (eq system-type 'gnu/linux)
|
|
(add-to-list 'default-frame-alist '(undecorated . t)))
|
|
|
|
(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
|
|
)
|
|
|
|
(when (eq system-type 'windows-nt)
|
|
(when (string= (system-name) "EVG02667NB")
|
|
(add-to-list 'default-frame-alist '(font . "Iosevka Term-12"))))
|
|
|
|
(provide 'display)
|
|
|
|
;; Local Variables:
|
|
;; mode: emacs-lisp
|
|
;; coding: utf-8
|
|
;; fill-column: 79
|
|
;; lisp-indent-offset: 2
|
|
;; End:
|