From 82f86222797ab50883903e07892007241e602906 Mon Sep 17 00:00:00 2001 From: Peter Badida Date: Sat, 17 Aug 2024 11:27:50 +0200 Subject: [PATCH] [REF] Better README.md --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index e3acfb7..5e1287d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ [![MELPA][melpa-badge]][melpa-package] [![MELPA Stable][melpa-stable-badge]][melpa-stable-package] +[![Buy me a coffee][bmc-badge]][bmc-link] +[![Liberapay][lp-badge]][lp-link] +[![PayPal][ppl-badge]][ppl-link] # typewriter-roll-mode @@ -13,7 +16,25 @@ losing such a thought in the process. Install it from [Melpa](https://melpa.org/#/getting-started) or clone and install manually, then simply `M-x typewriter-roll-mode`. +### Enable for file extensions + +It might be useful to auto-enable the mode for certain files or patterns. One +of such methods is updating `auto-mode-alist`: + +```emacs-lisp +(add-to-list 'auto-mode-alist + '("\\.my-quick-note.txt\\'" . typewriter-roll-mode)) +``` + +For every file with `.my-quick-note.txt` extension. + [melpa-badge]: http://melpa.org/packages/typewriter-roll-mode-badge.svg [melpa-package]: http://melpa.org/#/typewriter-roll-mode [melpa-stable-badge]: http://stable.melpa.org/packages/typewriter-roll-mode-badge.svg [melpa-stable-package]: http://stable.melpa.org/#/typewriter-roll-mode +[bmc-badge]: https://img.shields.io/badge/-buy_me_a%C2%A0coffee-gray?logo=buy-me-a-coffee +[bmc-link]: https://www.buymeacoffee.com/peterbadida +[ppl-badge]: https://img.shields.io/badge/-paypal-grey?logo=paypal +[ppl-link]: https://paypal.me/peterbadida +[lp-badge]: https://img.shields.io/badge/-liberapay-grey?logo=liberapay +[lp-link]: https://liberapay.com/keyweeusr