emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] shell-command+ 1c132fe 3/6: Give example configuration in README


From: Philip Kaludercic
Subject: [elpa] shell-command+ 1c132fe 3/6: Give example configuration in README
Date: Sun, 18 Apr 2021 17:12:41 -0400 (EDT)

branch: shell-command+
commit 1c132fee49f9e987e6b1e2c484a577221476bc62
Author: Philip K <philipk@posteo.net>
Commit: Philip K <philipk@posteo.net>

    Give example configuration in README
---
 README.md | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/README.md b/README.md
index 9140eb5..115ae7b 100644
--- a/README.md
+++ b/README.md
@@ -47,6 +47,16 @@ Bind the command `shell-command+` to any key, for example 
`M-!`.
 
 Bug reports and patches should be sent to my [public inbox].
 
+Using [`setup`][setup] I configure `shell-command+` as so:
+
+~~~elisp
+(setup shell-command+
+  (:option shell-command+-prompt "$ ")
+  (:with-feature dired
+    (:bind "M-!" shell-command+))
+  (:global "M-!" shell-command+))
+~~~
+
 Copying
 -------
 
@@ -56,4 +66,5 @@ Domain Dedication][cc0] license.
 [leah]: http://leahneukirchen.org/dotfiles/.emacs
 [ELPA]: http://elpa.gnu.org/packages/shell-command+.html
 [public inbox]: https://lists.sr.ht/~zge/public-inbox
+[setup]: http://elpa.gnu.org/packages/setup.html
 [cc0]: https://creativecommons.org/publicdomain/zero/1.0/deed



reply via email to

[Prev in Thread] Current Thread [Next in Thread]