Use functions and add comments

This commit is contained in:
Marcus Kammer 2020-02-16 13:26:17 +01:00
parent e7f35f0cc1
commit 0b7c3327c5

View file

@ -1,11 +1,19 @@
(add-to-list 'default-frame-alist '(fullscreen . maximized))
(add-to-list 'default-frame-alist '(width . 82))
(add-to-list 'default-frame-alist '(height . 42))
(add-to-list 'default-frame-alist '(vertical-scroll-bars))
(add-to-list 'default-frame-alist '(horizontal-scroll-bars))
(add-to-list 'default-frame-alist '(menu-bar-lines . 0))
;; General userinterface and appearance
(tool-bar-mode -1) ; No toolbar
(menu-bar-mode -1) ; No Menubar
(scroll-bar-mode -1) ; No scrollbar
(set-scroll-bar-mode 'right) ; Scrollbar on the right
(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
(column-number-mode 1) ; Display column number in the mode line
(size-indication-mode -1) ; Display buffer size in the mode line
(add-to-list 'default-frame-alist '(fullscreen . maximized)) ; Maximize Window
(add-to-list 'default-frame-alist '(font . "Iosevka Term-14"))
(add-to-list 'default-frame-alist '(undecorated . t))
(setq-default echo-keystrokes 0.02
column-number-indicator-zero-based nil
@ -15,16 +23,7 @@
whitespace-style '(tab-mark)
indicate-buffer-boundaries 'left)
(global-font-lock-mode)
(global-prettify-symbols-mode)
(global-hl-line-mode)
(global-whitespace-mode)
(size-indication-mode)
(column-number-mode)
(show-paren-mode)
(when (eq system-type 'windows-nt)
(add-to-list 'default-frame-alist '(undecorated . nil)))
(when (eq system-type 'windows-nt))
(when (eq system-type 'gnu/linux)
(when (display-graphic-p)))