i forgot to commit

This commit is contained in:
Mars 2024-10-05 00:40:51 -04:00
parent 1385c31e2f
commit 378e380cde
Signed by: pupbrained
GPG key ID: 0FF5B8826803F895

View file

@ -12,16 +12,16 @@
(unless (server-running-p) (server-start))
#+end_src
** Disable Auto-Save and Backup
** Auto-Save
*** (I don't like having ~#file#~ and ~file~~ everywhere in my directories)
*** Disable Built-In Auto-Save and Backup
#+begin_src emacs-lisp
(setq auto-save-default nil
make-backup-files nil)
#+end_src
** Enable Real Auto Save
*** Enable Real Auto-Save
#+begin_src emacs-lisp
(use-package real-auto-save
@ -143,7 +143,11 @@
(electric-indent-mode 1)
(electric-pair-mode 1)
(setq c-basic-offset 2)
(setq-default tab-width 2)
(setq-default indent-tabs-mode nil)
(setq-default standard-indent 2)
(global-set-key (kbd "TAB") 'indent-for-tab-command)
(use-package evil
:ensure t
@ -157,7 +161,8 @@
evil-want-integration t
evil-want-keybinding nil)
:config
(evil-mode 1))
(evil-mode 1)
(evil-define-key 'normal 'global (kbd "K") #'eldoc-box-help-at-point))
(use-package evil-collection
:ensure t
@ -192,7 +197,7 @@
(use-package eglot
:hook
(prog-mode . eglot-ensure)
:config
:config
(add-hook 'emacs-lisp-mode-hook 'eglot-ensure)
(add-hook 'c-mode-hook 'hide-ifdef-mode)
(add-hook 'c++-mode-hook 'hide-ifdef-mode))
@ -209,6 +214,9 @@
(eglot-format-buffer)))
(add-hook 'before-save-hook #'my/eglot-format-buffer-on-save)
;; Load posframe for popups
(use-package eldoc-box :ensure t)
#+end_src
*** TreeSitter
@ -276,11 +284,11 @@
(set-face-attribute 'variable-pitch nil :font "Iosevka Comfy Motion Duo-16")
(setq default-frame-alist '((font . "Iosevka Comfy-14"))))
((eq system-type 'gnu/linux)
(set-face-attribute 'default nil :font "Iosevka Comfy-12")
(set-face-attribute 'fixed-pitch nil :font "Iosevka Comfy-12")
(set-face-attribute 'default nil :font "Iosevka Comfy Medium-12")
(set-face-attribute 'fixed-pitch nil :font "Iosevka Comfy Medium-12")
(set-face-attribute 'variable-pitch nil :font "Iosevka Comfy Motion Duo-14")
(setq default-frame-alist
'((font . "Iosevka Comfy-12")
'((font . "Iosevka Comfy Medium-12")
(undecorated . t)))))
#+end_src