diff options
author | noa | 2024-09-17 10:23:28 +0800 |
---|---|---|
committer | noa | 2024-09-17 10:23:28 +0800 |
commit | e3c42479dbeb5946070187f7714b1f48c12e84b8 (patch) | |
tree | 4e2d6dad1d4f073375e17fdd7ed5b3e3065c341a | |
parent | 0db93d846d3a19b8ac5425b5f1a8d9055b69013f (diff) |
Remove discussion of alternative ways to install packages
-rw-r--r-- | emacs/init.el | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/emacs/init.el b/emacs/init.el index 2e38ee6..e41dcf9 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -25,27 +25,6 @@ ;; Properly distinguish these chords from their ascii legacy (define-key input-decode-map [?\C-m] [C-m]) -;;; Packages -;; For a long time i used use-package to manage emacs package configuration. Over time, i decided it was a bit too magic for me. The syntax is quite different to everything else in the configuration, and most of the options i was using were fairly simple. - -;; I had a very brief excursion into using ~package-vc-install~ to manage packages directly from source, but i found this was too fragile, especially without relying on use-package. For now, i've modified a little defun from acdw i used for that purpose to simply install packages using package.el. - -(defun package-ensure (pkg) - (unless (package-installed-p pkg) - (package-install pkg))) - -;; Installed packages -;;These are the packages i use that aren't packaged in the debian repositories: - -;; - 0x0 -;; - isearch-mb -;; - jinx -;; - org-modern -;; - ox-rss -;; - valign - -;; sudo apt install elpa-aggressive-indent elpa-consult elpa-dired-du elpa-htmlize elpa-jabber elpa-marginalia elpa-markdown-mode elpa-nov elpa-orderless elpa-vertico elpa-visual-fill-column elpa-ebib elpa-vc-fossil - ;;; Modern keybindings ;; A lot of people say that you get used to emacs keybindings over time, and this is true. But i find it hard to maintain two sets of keybindings in my head: those for emacs, and those for everything else. So i think that it's best to make emacs use the same bindings as everything else. For now, we do that with wakib mode. (require 'wakib-keys) |