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