branch: externals/altcaps
commit 541e8768320a29148858559b5b343647c09110ef
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Add sample configuration with use-package
---
 README.org | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/README.org b/README.org
index 52ffa69499..3c2c55cf49 100644
--- a/README.org
+++ b/README.org
@@ -204,6 +204,20 @@ Everything is in place to set up the package.
 ;; - `altcaps-dwim'
 #+end_src
 
+With ~use-package~:
+
+#+begin_src emacs-lisp
+(use-package altcaps
+  :ensure t
+  :bind
+  ("C-x C-a" . altcaps-dwim)
+  :config
+  ;; Optionally force letter casing for certain characters (for legibility).
+  (setq altcaps-force-character-casing
+      '(("i" . downcase)
+        ("l" . upcase))))
+#+end_src
+
 * Acknowledgements
 :PROPERTIES:
 :CUSTOM_ID: h:399afb8b-7bb3-40b4-b10f-3123714d9614

Reply via email to