Add line break characters

This commit is contained in:
MitchMarq42 2023-03-18 19:48:21 -08:00
parent a3a9584d25
commit 6b818850fa

View File

@ -20,6 +20,8 @@
(global-prettify-symbols-mode 1) (global-prettify-symbols-mode 1)
(auto-insert-mode)) (auto-insert-mode))
(use-package epg (use-package epg
:elpaca nil :elpaca nil
:after tramp :after tramp
@ -27,8 +29,12 @@
(auth-sources '("~/.authinfo.gpg")) (auth-sources '("~/.authinfo.gpg"))
(epg-pinentry-mode 'loopback)) (epg-pinentry-mode 'loopback))
(use-package compat) (use-package compat)
;; save minibuffer history, see Vertico below ;; save minibuffer history, see Vertico below
(use-package savehist (use-package savehist
:elpaca nil :elpaca nil
@ -36,6 +42,8 @@
:custom (savehist-file :custom (savehist-file
(expand-file-name "minibuffer-history" backup-directory))) (expand-file-name "minibuffer-history" backup-directory)))
;; save place in all files ;; save place in all files
(use-package saveplace (use-package saveplace
:elpaca nil :elpaca nil
@ -43,6 +51,9 @@
:custom :custom
(save-place-file (save-place-file
(expand-file-name "file-position-save" backup-directory))) (expand-file-name "file-position-save" backup-directory)))
(use-package tramp (use-package tramp
:elpaca nil :elpaca nil
;; :after eshell ;; :after eshell
@ -55,6 +66,9 @@
(file-directory-p buffer-file-name)) (file-directory-p buffer-file-name))
(find-alternate-file (format "/sudo::%s" buffer-file-name))))) (find-alternate-file (format "/sudo::%s" buffer-file-name)))))
(advice-add #'find-file :after #'find-file-sudo)) (advice-add #'find-file :after #'find-file-sudo))
;; Visualize whitespace. In a very chill and invisible way. ;; Visualize whitespace. In a very chill and invisible way.
(use-package image-mode (use-package image-mode
:elpaca nil :elpaca nil
@ -62,6 +76,8 @@
(turn-off-line-numbers) (turn-off-line-numbers)
(blink-cursor-mode -1)) (blink-cursor-mode -1))
;; scribble SVGs in org buffers like it's 2005 (idk I was a baby then) ;; scribble SVGs in org buffers like it's 2005 (idk I was a baby then)
(use-package edraw (use-package edraw
:elpaca (:repo "https://github.com/misohena/el-easydraw") :elpaca (:repo "https://github.com/misohena/el-easydraw")
@ -86,6 +102,8 @@
;; diminish ;; diminish
(use-package diminish) (use-package diminish)
;; Keybinding manager ;; Keybinding manager
(use-package general (use-package general
:demand t :demand t
@ -94,10 +112,14 @@
(elpaca-wait) (elpaca-wait)
(use-package eldoc (use-package eldoc
:elpaca nil :elpaca nil
:diminish :diminish
:custom (eldoc-echo-area-use-multiline-p nil)) :custom (eldoc-echo-area-use-multiline-p nil))
(use-package whitespace (use-package whitespace
:elpaca nil :elpaca nil
:diminish (whitespace-mode org-indent-mode org-vw-mode auto-fill-mode) :diminish (whitespace-mode org-indent-mode org-vw-mode auto-fill-mode)
@ -109,6 +131,8 @@
(prog-mode . whitespace-mode) (prog-mode . whitespace-mode)
;; (org-mode . auto-fill-mode) ;; (org-mode . auto-fill-mode)
) )
;; ...and finally, sync files with disk changes ;; ...and finally, sync files with disk changes
(use-package autorevert (use-package autorevert
:elpaca nil :elpaca nil
@ -116,6 +140,8 @@
:config (global-auto-revert-mode)) :config (global-auto-revert-mode))
;; (use-package use-package-ensure-system-package) ;; (use-package use-package-ensure-system-package)
;; load evil ;; load evil
(use-package evil (use-package evil
:general :general
@ -166,6 +192,8 @@
:after evil :after evil
:diminish 'evil-matchit-mode :diminish 'evil-matchit-mode
:config (global-evil-matchit-mode 1)) :config (global-evil-matchit-mode 1))
(use-package evil-terminal-cursor-changer (use-package evil-terminal-cursor-changer
:after evil :after evil
:diminish :diminish
@ -207,6 +235,8 @@
(general-define-key (general-define-key
:keymaps 'vundo-mode-map :keymaps 'vundo-mode-map
"d" 'my/vundo-diff)) "d" 'my/vundo-diff))
(use-package evil-goggles (use-package evil-goggles
:diminish :diminish
:after evil :after evil
@ -222,6 +252,8 @@
:states 'visual :states 'visual
"`" 'altcaps-region)) "`" 'altcaps-region))
;; edwina window manager, like the kool kids ;; edwina window manager, like the kool kids
(use-package edwina (use-package edwina
:after evil :after evil
@ -240,6 +272,8 @@
[remap evil-window-decrease-height] 'edwina-dec-mfact [remap evil-window-decrease-height] 'edwina-dec-mfact
[remap balance-windows] 'edwina-arrange)) [remap balance-windows] 'edwina-arrange))
;; eshell. Pretty good actually. ;; eshell. Pretty good actually.
(use-package eshell (use-package eshell
:elpaca nil :elpaca nil