1
0
Fork 0

Added: display-line-numbers-mode

Browse Source
This commit is contained in:
rhjr 2026-01-20 14:41:23 +01:00
parent 5fd4d803be
commit bae69d3c58

View File

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