From ed49787cdb264d1bbaebc99f85cad6f2ac2e4eff Mon Sep 17 00:00:00 2001 From: Josiah Ledbetter Date: Thu, 4 Mar 2021 09:47:55 -0600 Subject: [PATCH] Add the sudo-edit package for ease of editing sys protected files. --- .emacs.d/init.el | 2 +- .emacs.d/jlj-generic.el | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index cc810b4..4e19048 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -41,7 +41,7 @@ '(epg-gpg-program "/usr/local/bin/gpg") '(global-hl-line-mode t) '(package-selected-packages - '(modus-themes org-caldav json-mode pdf-tools org-special-block-extras neotree sr-speedbar lsp-python-ms fira-code-mode yasnippet org-pdftools phps-mode projectile webfeeder znc pinboard yaml-mode which-key web-mode virtualenvwrapper use-package twittering-mode try smex racer powershell poetry pipenv ox-reveal outline-magic org-pdfview org-bullets ob-restclient multiple-cursors magit lua-mode lsp-ui iedit helm flycheck-rust exec-path-from-shell eglot edit-indirect company-lsp ansible ace-window))) + '(sudo-edit modus-themes org-caldav json-mode pdf-tools org-special-block-extras neotree sr-speedbar lsp-python-ms fira-code-mode yasnippet org-pdftools phps-mode projectile webfeeder znc pinboard yaml-mode which-key web-mode virtualenvwrapper use-package twittering-mode try smex racer powershell poetry pipenv ox-reveal outline-magic org-pdfview org-bullets ob-restclient multiple-cursors magit lua-mode lsp-ui iedit helm flycheck-rust exec-path-from-shell eglot edit-indirect company-lsp ansible ace-window))) '(znc-servers `(("bouncer.awful.club" 5000 t ((freenode "blindidiotgod/freenode" ,znc-password) diff --git a/.emacs.d/jlj-generic.el b/.emacs.d/jlj-generic.el index e4d833b..efe07b6 100644 --- a/.emacs.d/jlj-generic.el +++ b/.emacs.d/jlj-generic.el @@ -231,6 +231,9 @@ (progn (global-set-key [f8] 'neotree-toggle))) +(use-package sudo-edit + :ensure t) + (server-start) ;;; jlj-generic.el ends here