Compare commits

...

2 Commits

Author SHA1 Message Date
TakeV b2f2ff1344
Update readme 2023-07-02 18:22:34 -07:00
TakeV 4cecf09be3
Change layer name to "guix-layer" 2023-07-02 18:22:21 -07:00
2 changed files with 16 additions and 15 deletions

View File

@ -6,7 +6,6 @@
#+TAGS: layer|web service
# The maximum height of the logo should be 200 pixels.
[[img/guix.png]]
# TOC links should be GitHub style anchors.
* Table of Contents :TOC_4_gh:noexport:
@ -19,21 +18,23 @@
This layer adds support for something.
** Features:
- Autocomplete
- Lint
- Refactor
- ...
- guix.el
- evil bindings for guix
- generate hall projects via skeletor
* Install
Clone this repo into your private folder in your .emacs.d.
=git clone https://git.solarpunk.moe/TakeV/guix-layer.git ~/.emacs.d/private/guix-layer=
To use this configuration layer, add it to your =~/.spacemacs=. You will need to
add =guix= to the existing =dotspacemacs-configuration-layers= list in this
add =guix-layer= to the existing =dotspacemacs-configuration-layers= list in this
file.
* Key bindings
| Key Binding | Description |
|-------------+----------------|
| ~SPC x x x~ | Does thing01 |
| Key Binding | Description |
|-------------+---------------------|
| ~SPC a t g~ | Activate guix popup |
# Use GitHub URLs if you wish to link a Spacemacs documentation file or its heading.
# Examples:

View File

@ -40,7 +40,7 @@
;;; Code:
(defconst guix-packages
(defconst guix-layer-packages
'(emacs-guix evil-collection geiser geiser-guile skeletor) ; Eventually move skeletor to its own layer or in projectile. Also add way to enable it with hall.
"The list of Lisp packages required by the guix layer.
@ -69,7 +69,7 @@ Each entry is either:
- A list beginning with the symbol `recipe' is a melpa
recipe. See: https://github.com/milkypostman/melpa#recipe-format")
(defun guix/init-emacs-guix ()
(defun guix-layer/init-emacs-guix ()
(use-package emacs-guix
:defer t
:init
@ -78,14 +78,14 @@ Each entry is either:
(spacemacs/set-leader-keys
"atg" 'guix))))
(defun guix/pre-init-evil-collection ()
(defun guix-layer/pre-init-evil-collection ()
(when configuration-layer/layer-used-p 'spacemacs-evil
(add-to-list spacemacs-evil-collection-allowed-list 'guix)))
(defun guix/init-skeletor ()
(defun guix-layer/init-skeletor ()
(use-package skeletor :defer t))
(defun guix/post-init-skeletor ()
(defun guix-layer/post-init-skeletor ()
(skeletor-define-constructor "Hall"
:requires-executables '(("hall" . "https://gitlab.com/a-sassmannshausen/guile-hall"))
:initialise