aboutsummaryrefslogtreecommitdiffstats
path: root/oni/packages/emacs.scm
diff options
context:
space:
mode:
authorGravatar Tom Willemse2021-06-22 21:02:02 -0700
committerGravatar Tom Willemse2021-06-22 21:02:02 -0700
commit208c6e5940d7a1503679811f4e09e7c9a696b02b (patch)
tree597fc9ec1bc5e692d33358da27353293b33181fa /oni/packages/emacs.scm
parent646573578b7adfbff415645fed201269076cebf6 (diff)
downloadguix-packages-208c6e5940d7a1503679811f4e09e7c9a696b02b.tar.gz
guix-packages-208c6e5940d7a1503679811f4e09e7c9a696b02b.zip
Add ‘emacs-oni-core’ and dependencies
Diffstat (limited to 'oni/packages/emacs.scm')
-rw-r--r--oni/packages/emacs.scm50
1 files changed, 50 insertions, 0 deletions
diff --git a/oni/packages/emacs.scm b/oni/packages/emacs.scm
index 31a5278..1c871c5 100644
--- a/oni/packages/emacs.scm
+++ b/oni/packages/emacs.scm
@@ -50,3 +50,53 @@
(description "A configuration for Circe")
(license license:gpl3)
(home-page "https://github.com/ryuslash/circe-serenity"))))
+
+(define-public emacs-embrace
+ (package
+ (name "emacs-embrace")
+ (version "0.1.4")
+ (source
+ (origin
+ (uri (git-reference
+ (url "https://github.com/cute-jumper/embrace.el")
+ (commit version)))
+ (method git-fetch)
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1m0qyipkp5ydgcav8d0m58fbj1gilipbj7g8mg40iajr8wfqcjdc"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-expand-region" ,emacs-expand-region)))
+ (home-page "https://github.com/cute-jumper/embrace.el")
+ (synopsis "Add/Change/Delete pairs based on `expand-region', similar to `evil-surround'")
+ (description "This package is heavily inspired by evil-surround (which is a port of the vim
+plugin surround.vim). But instead of using evil and its text objects, this
+package relies on another excellent package expand-region.
+
+For Emacs users who don’t like evil and thus don’t use evil-surround, embrace
+provides similar commands that can be found in evil-surround. Evil is absolutely
+not required. For evil-surround users, embrace can make your evil-surround
+commands even better! (Have you noticed that evil-surround doesn’t work on many
+custom pairs?)")
+ (license license:gpl3+)))
+
+(define-public emacs-insert-char-preview
+ (let ((commit "0e4a62b5407fb1bed8920a4c13cf9a91065e15ad")
+ (revision "0"))
+ (package
+ (name "emacs-insert-char-preview")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (uri (git-reference
+ (url "https://gitlab.com/matsievskiysv/insert-char-preview")
+ (commit commit)))
+ (method git-fetch)
+ (sha256
+ (base32 "0cqc23y9n63a7kl2p1zrfcsxnclfxcszfmbh2hmbrs6q05ys0kzg"))))
+ (build-system emacs-build-system)
+ (home-page "https://gitlab.com/matsievskiysv/insert-char-preview")
+ (synopsis "Insert Unicode char")
+ (description "Insert Unicode char via insert-char-preview similar to insert-char command, but
+with character preview in completion prompt.")
+ (license license:gpl3+))))