diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 4498773..c9ed3f4 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -62,6 +62,8 @@ inhibit-splash-screen t inhibit-startup-echo-area-message t + display-line-numbers-width 4 + create-lockfiles nil make-backup-files nil auto-save-default nil) @@ -101,8 +103,9 @@ (menu-bar-mode -1) (tool-bar-mode -1) (scroll-bar-mode -1) -(set-fringe-mode '(2 . 0)) +(set-fringe-mode '(0 . 0)) (pixel-scroll-precision-mode) +(global-display-line-numbers-mode 1) ;;; rhjr/packages (use-package magit @@ -226,16 +229,12 @@ ;;; rhjr/programming (defconst rhjr/c-style `((c-basic-offset . 2) - (c-offsets-alist . - ((statement . 0) - (statement-cont . 0) - (substatement-open . 0) - (arglist-intro . 2) - (case-label . 2) - (label . 0)) - ) - - )) + (c-offsets-alist .((statement . 0) + (statement-cont . 0) + (substatement-open . 0) + (arglist-intro . 2) + (case-label . 2) + (label . 0))))) (defun rhjr/set-c-style () "" @@ -261,9 +260,6 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(custom-safe-themes - '("4a32b5f87b7ec307837e58c5a1bf8d532d5d090ae2e52f8e5348c1a48357c6c7" - default)) '(package-selected-packages '(cape consult corfu corfu-candidate-overlay highlight-parentheses magit orderless vertico)))