1
0
Fork 0

fix: random general settings

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2023-08-17 00:46:39 -07:00
parent 2e15d3be41
commit 238651aca0
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47

View file

@ -5,8 +5,7 @@
(require 'nano-theme) (require 'nano-theme)
(setq inhibit-startup-message t
visible-bell nil)
;; Backups ;; Backups
(setq make-backup-files nil) (setq make-backup-files nil)
@ -24,12 +23,19 @@
(menu-bar-mode -1) (menu-bar-mode -1)
(tool-bar-mode -1) (tool-bar-mode -1)
(scroll-bar-mode -1) (scroll-bar-mode -1)
(setq inhibit-startup-message t)
(setq visible-bell nil)
(setq truncate-lines t)
;; Scratch
(setq initial-scratch-message nil)
;; Line ;; Line
(add-hook 'prog-mode-hook #'display-line-numbers-mode) (add-hook 'prog-mode-hook #'display-line-numbers-mode)
(hl-line-mode -1) (hl-line-mode -1)
(setq line-number-mode t) (line-number-mode 1)
(setq column-number-mode t) (column-number-mode 1)
(size-indication-mode 1)
;; Tabs ;; Tabs
(setq-default tab-width 2) (setq-default tab-width 2)
@ -62,6 +68,9 @@
;; Automatically follow symlinks ;; Automatically follow symlinks
(setq vc-follow-symlinks t) (setq vc-follow-symlinks t)
;; Undos
(setq undo-limit 200000)
;; Theme ;; Theme
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes") (add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
(load-theme 'nano t) (load-theme 'nano t)