Switch from word-wrap to visual-line-mode
Set display-line-numbers-mode as a global Turn off menu-bar
This commit is contained in:
parent
3b0b0d06df
commit
01fb213dd8
|
@ -8,16 +8,20 @@
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
(setq use-dialog-box nil
|
(setq use-dialog-box nil
|
||||||
display-line-numbers 'relative
|
fill-column 80
|
||||||
fill-column 80)
|
truncate-lines nil
|
||||||
|
truncate-partial-width-windows nil)
|
||||||
|
|
||||||
(defun my/set-frame-alpha () (set-frame-parameter nil 'alpha-background 80))
|
(defun my/set-frame-alpha () (set-frame-parameter nil 'alpha-background 80))
|
||||||
|
|
||||||
|
(tab-bar-mode -1)
|
||||||
|
(menu-bar-mode -1)
|
||||||
(tool-bar-mode -1)
|
(tool-bar-mode -1)
|
||||||
(scroll-bar-mode -1)
|
(scroll-bar-mode -1)
|
||||||
(add-to-list 'default-frame-alist '(font . "FiraCode Nerd Font-12"))
|
(add-to-list 'default-frame-alist '(font . "FiraCode Nerd Font-12"))
|
||||||
|
(global-display-line-numbers-mode 'relative)
|
||||||
(global-prettify-symbols-mode +1)
|
(global-prettify-symbols-mode +1)
|
||||||
(global-word-wrap-whitespace-mode +1)
|
(global-visual-line-mode +1)
|
||||||
(set-frame-parameter nil 'alpha-background 80)
|
(set-frame-parameter nil 'alpha-background 80)
|
||||||
(add-hook 'server-after-make-frame-hook (lambda () (set-frame-parameter nil 'alpha-background 80)))
|
(add-hook 'server-after-make-frame-hook (lambda () (set-frame-parameter nil 'alpha-background 80)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue