From b7663505fc7939cdddff3db491c2b5e0a8754588 Mon Sep 17 00:00:00 2001 From: Marc Date: Sat, 24 Apr 2021 08:25:34 +0200 Subject: [PATCH] more restructuring --- config.org | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/config.org b/config.org index 5d17f39..6ce5b99 100644 --- a/config.org +++ b/config.org @@ -259,32 +259,37 @@ Restore it to reasonable value after init. Also stop garbage collection during m (save-place-mode 1) ;; saves position in file when it's closed (setq save-place-forget-unreadable-files nil) ;; checks if file is readable before saving position +#+END_SRC +* Appearance +** Defaults +#+begin_src emacs-lisp (set-charset-priority 'unicode) -(setq locale-coding-system 'utf-8) +(setq-default locale-coding-system 'utf-8 + default-process-coding-system '(utf-8-unix . utf-8-unix)) (set-terminal-coding-system 'utf-8) (set-keyboard-coding-system 'utf-8) (set-selection-coding-system 'utf-8) -(setq default-process-coding-system '(utf-8-unix . utf-8-unix)) (if *sys/windows* (prefer-coding-system 'utf-8-dos) (prefer-coding-system 'utf-8)) + (setq-default bidi-paragraph-direction 'left-to-right - bidi-inhibit-bpa t) ;; both settings reduce line rescans -(blink-cursor-mode -1) ;; turn off blinking cursor + bidi-inhibit-bpa t ;; both settings reduce line rescans + uniquify-buffer-name-style 'forward + indent-tabs-mode nil ;; avoid tabs in place of multiple spaces (they look bad in tex) + indicate-empty-lines t ;; show empty lines + scroll-margin 5 ;; smooth scrolling + scroll-conservatively 10000 + scroll-preserve-screen-position 1 + scroll-step 1 + ring-bell-function 'ignore ;; disable pc speaker bell + visible-bell t) +(global-hl-line-mode t) ;; highlight current line +(blink-cursor-mode -1) ;; turn off blinking cursor (column-number-mode t) -(setq uniquify-buffer-name-style 'forward) -(setq-default indent-tabs-mode nil) ;; avoid tabs in place of multiple spaces (they look bad in tex) -(setq-default indicate-empty-lines t) ;; show empty lines -(setq scroll-margin 5 ;; smooth scrolling - scroll-conservatively 10000 - scroll-preserve-screen-position 1 - scroll-step 1) -(global-hl-line-mode t) ;; highlight current line -(setq ring-bell-function 'ignore ;; disable pc speaker bell - visible-bell t) -#+END_SRC +#+end_src -* Remove redundant UI +** Remove redundant UI #+begin_src emacs-lisp :tangle early-init.el (menu-bar-mode -1) ;; disable menu bar (tool-bar-mode -1) ;; disable tool bar