Browse Source

minor structural changes, set emacs to ltr

master
Marc 3 years ago
parent
commit
12a54bc1f7
1 changed files with 10 additions and 5 deletions
  1. 15
      config.org

15
config.org

@ -268,7 +268,8 @@ Restore it to reasonable value after init. Also stop garbage collection during m
(if *sys/windows* (if *sys/windows*
(prefer-coding-system 'utf-8-dos) (prefer-coding-system 'utf-8-dos)
(prefer-coding-system 'utf-8)) (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 (blink-cursor-mode -1) ;; turn off blinking cursor
(column-number-mode t) (column-number-mode t)
(setq uniquify-buffer-name-style 'forward) (setq uniquify-buffer-name-style 'forward)
@ -279,14 +280,18 @@ Restore it to reasonable value after init. Also stop garbage collection during m
scroll-preserve-screen-position 1 scroll-preserve-screen-position 1
scroll-step 1) scroll-step 1)
(global-hl-line-mode t) ;; highlight current line (global-hl-line-mode t) ;; highlight current line
(menu-bar-mode 0) ;; disable menu bar
(tool-bar-mode 0) ;; disable tool bar
(scroll-bar-mode 0) ;; disable scroll bar
(setq ring-bell-function 'ignore ;; disable pc speaker bell (setq ring-bell-function 'ignore ;; disable pc speaker bell
visible-bell t) visible-bell t)
#+END_SRC #+END_SRC
Bookmarks
* 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
(scroll-bar-mode -1) ;; disable scroll bar
#+end_src
* Bookmarks
Usage: Usage:
- C-x r m (bookmark-set): add bookmark - C-x r m (bookmark-set): add bookmark
- C-x r l (list-bookmark): list bookmarks - C-x r l (list-bookmark): list bookmarks

Loading…
Cancel
Save