summaryrefslogtreecommitdiff
path: root/mms-misc.org
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-01-19 15:22:13 +0100
committermms <michal@sapka.me>2024-01-19 15:22:13 +0100
commit9ab57ee255a03b86ed7303aa94959e3b104e1719 (patch)
tree926293dc6d9460f1eab12231573b71abc8d5ac4e /mms-misc.org
feat: extract into dedicated repo
Diffstat (limited to 'mms-misc.org')
-rw-r--r--mms-misc.org57
1 files changed, 57 insertions, 0 deletions
diff --git a/mms-misc.org b/mms-misc.org
new file mode 100644
index 0000000..241298d
--- /dev/null
+++ b/mms-misc.org
@@ -0,0 +1,57 @@
+#+TITLE: mms Emacs Config - Misc
+#+AUTHOR: MichaƂ Sapka (https://michal.sapka.me)
+#+STARTUP: showall indent logdone
+
+#+HUGO_BASE_DIR: ~/ghq/vcs.sapka.me/michal-sapka-me/
+#+HUGO_WEIGHT: 400
+#+HUGO_SECTION: emacs/config
+#+HUGO_CATEGORIES: emacs emacs-config
+#+HUGO_MENU :menu "emacs-config" :name "Miscellaneous"
+#+HUGO_CUSTOM_FRONT_MATTER: :abstract "My emacs config - miscellaneous onfig"
+#+HUGO_CUSTOM_FRONT_MATTER: :menu-abstract "mastodon and email"
+#+EXPORT_FILE_NAME: misc
+
+* Intro
+
+Why not do some other cool things inside Emacs?
+Those configs here are very rudementaty, and a work-in-progress.
+
+* Mastodon
+
+I use mastodon (use can find me on [[https://emacs.ch/@mms][emacs.ch]]).
+Why not use it in Emacs?
+
+I need to add dedicated config for keybindings.
+
+#+begin_src emacs-lisp
+ (use-package mastodon
+ :ensure t
+ :config
+ (setq mastodon-instance-url "https://emacs.ch"
+ mastodon-active-user "mms")
+ )
+#+end_src
+
+* Email
+
+Oh email, how I love you!
+
+** Reading
+
+I use notmuch as my MUA.
+You can find my guide on my [[https://michal.sapka.me/emacs/notmuch/][emacs site]].
+
+#+BEGIN_SRC emacs-lisp
+ (use-package notmuch
+ :commands notmuch-hello
+ :config
+ (setq notmuch-search-oldest-first nil
+ notmuch-search-line-faces '(("gh-pr-todo" . ((t :foreground "#f77"))))) )
+#+END_SRC
+
+#+begin_src emacs-lisp
+ (mms-leader-keys
+ "m m" '(lambda () (interactive) (notmuch-hello) :wk "Notmuch hello"))
+#+end_src
+
+** TODO composing