diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2021-10-18 11:33:50 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2021-10-18 11:33:50 +0200 |
| commit | b0fca886fdbac98b0f87a668bcfeb0f1dd0bc867 (patch) | |
| tree | 34ce6bdb8d4985b059ce21e94295086f035d1969 | |
| parent | eb2fae6a3f25dcddbfa4ba1116c860471177a5f8 (diff) | |
| download | dotfiles-b0fca886fdbac98b0f87a668bcfeb0f1dd0bc867.tar.gz dotfiles-b0fca886fdbac98b0f87a668bcfeb0f1dd0bc867.zip | |
emacs: added the crux package back
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
| -rw-r--r-- | .doom.d/README.org | 2 | ||||
| -rw-r--r-- | .doom.d/config.el | 6 | ||||
| -rw-r--r-- | .doom.d/packages.el | 1 | ||||
| -rw-r--r-- | .github/workflows/ci.yml | 7 | ||||
| -rw-r--r-- | README.org | 7 |
5 files changed, 17 insertions, 6 deletions
diff --git a/.doom.d/README.org b/.doom.d/README.org index b1e2662..7418747 100644 --- a/.doom.d/README.org +++ b/.doom.d/README.org @@ -1,6 +1,6 @@ * GNU Emacs configuration -Since [[7bfe3fe73208fa29a3fe4b7ddce675e79a70c246][this commit]] I have maintained my own configuration for GNU Emacs. This has +Since [[https://github.com/mssola/dotfiles/commit/7bfe3fe73208fa29a3fe4b7ddce675e79a70c246][this commit]] I have maintained my own configuration for GNU Emacs. This has been a hell of a ride for about five years. During this time I have learned a lot, including what I don't like: to maintain a huge blob of Lisp to keep this beast running. That is, along the way I've been frustrated by stuff that didn't diff --git a/.doom.d/config.el b/.doom.d/config.el index a91f1e6..372ba2f 100644 --- a/.doom.d/config.el +++ b/.doom.d/config.el @@ -15,6 +15,12 @@ (map! "C-x v" #'split-window-right) (map! "C-x V" (lambda () (interactive) (split-window-right) (other-window 1))) +;; The crux package offers quite a few goodies, and I'm particularly interested +;; on the `crux-delete-file-and-buffer', which will delete the file related to +;; the current buffer as well as the buffer itself. +(use-package! crux + :bind (("C-c D" . crux-delete-file-and-buffer))) + ;;; UI ;; Some time ago I created this title format, and now I prefer it over other diff --git a/.doom.d/packages.el b/.doom.d/packages.el index bdd0d4a..c8ce441 100644 --- a/.doom.d/packages.el +++ b/.doom.d/packages.el @@ -1,5 +1,6 @@ ;; -*- no-byte-compile: t; -*- ;;; $DOOMDIR/packages.el +(package! crux) (package! langtool) (package! mu4e-alert :disable t) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ba9d9cb..9a5c5be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,10 @@ jobs: run: | ./bin/test/test.sh + - name: Install dependencies for Doom + run: | + apt-get install ripgrep + - name: Install Doom Emacs run: | git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d @@ -38,4 +42,5 @@ jobs: - name: Check GNU Emacs run: | - ~/.emacs.d/bin/doom doctor | grep "errors!" + ~/.emacs.d/bin/doom doctor + test -z "$(~/.emacs.d/bin/doom doctor | grep 'errors!')" @@ -9,13 +9,12 @@ Download everything by performing the following command (notice the $ git clone --recursive https://github.com/mssola/dotfiles.git #+END_SRC -To install everything just run the =install.sh= script (check also the -[[./.emacs.d/README.org][.emacs.d/README.org]] file to see the external dependencies for GNU Emacs). Use -this at your own risk ;) +To install everything just run the =install.sh= script. Use this at your own +risk ;) ** GNU Emacs -I am using [[https://github.com/hlissner/doom-emacs][Doom Emacs]], see [[./.doom.d][./doom.d/README.org]]. For runtime dependencies just run: +I am using [[https://github.com/hlissner/doom-emacs][Doom Emacs]], see [[./.doom.d][.doom.d/README.org]]. For runtime dependencies just run: #+BEGIN_SRC sh $ doom doctor |
