From 01fb213dd8481c6e8ef9e1bcaeac44fe4f109898 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 2 Nov 2023 16:02:05 +0000 Subject: [PATCH] Switch from word-wrap to visual-line-mode Set display-line-numbers-mode as a global Turn off menu-bar --- home/emacs/modules/custom-ui-config.el | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/home/emacs/modules/custom-ui-config.el b/home/emacs/modules/custom-ui-config.el index 139242c0..d94378cd 100644 --- a/home/emacs/modules/custom-ui-config.el +++ b/home/emacs/modules/custom-ui-config.el @@ -8,16 +8,20 @@ ;;; Code: (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)) +(tab-bar-mode -1) +(menu-bar-mode -1) (tool-bar-mode -1) (scroll-bar-mode -1) (add-to-list 'default-frame-alist '(font . "FiraCode Nerd Font-12")) +(global-display-line-numbers-mode 'relative) (global-prettify-symbols-mode +1) -(global-word-wrap-whitespace-mode +1) +(global-visual-line-mode +1) (set-frame-parameter nil 'alpha-background 80) (add-hook 'server-after-make-frame-hook (lambda () (set-frame-parameter nil 'alpha-background 80)))