summaryrefslogtreecommitdiff
path: root/mms-misc.org
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-06-13 16:56:56 +0200
committermms <michal@sapka.me>2024-06-13 16:56:56 +0200
commita6f933fe524f544ec02afe9bd08a1c8ee909c784 (patch)
tree49d24b95ffdab891b1e9442d045c192276814568 /mms-misc.org
parent11760041c7ebf7301e37f07e1e1a78bbdcc50a87 (diff)
feat: tidy up
Diffstat (limited to 'mms-misc.org')
-rw-r--r--mms-misc.org57
1 files changed, 3 insertions, 54 deletions
diff --git a/mms-misc.org b/mms-misc.org
index 2de0096..4f34ecf 100644
--- a/mms-misc.org
+++ b/mms-misc.org
@@ -49,11 +49,6 @@ You can find my guide on my [[https://michal.sapka.me/emacs/notmuch/][emacs site
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
-
** composing
I use =msmtp= for email sendout.
@@ -75,11 +70,6 @@ I set up =mms-email-address= in my config_local.el, as it changes between machin
(concat "BCC: " mms-email-address))
#+end_src
-#+begin_src emacs-lisp
- (mms-leader-keys
- "m c" '(lambda () (interactive) (compose-mail) :wk "compose email"))
-#+end_src
-
* Jabber
I self-host an XMPP server for my family.
@@ -111,17 +101,7 @@ Of course I want to have it inside Emacs!
First, let's be able to run Youtube inside emacs
#+begin_src emacs-lisp
(use-package yeetube
- :general
- (:states 'normal
- :keymaps 'yeetube-mode-map
- "RET" 'yeetube-play
- "d" 'yeetube-download-video
- "b" 'yeetube-play-saved-video
- "B" 'yeetube-save-video
- "x" 'yeetube-remove-saved-video
- "/" 'yeetube-search
- "0" 'yeetube-toggle-video
- ))
+ :ensure t)
#+end_src
Then, let's create linkhandler to pass the link to the correct handler.
@@ -138,40 +118,13 @@ Then, let's create linkhandler to pass the link to the correct handler.
)
#+end_src
-#+RESULTS:
-: mms-open-link-under-point
-
-
-And I want to have as =leader - enter - enter=
-
-#+begin_src emacs-lisp
- (mms-leader-keys
- "RET RET" '(lambda () (interactive) (mms-open-link-under-point) :wk "follow link"))
-#+end_src
-
* Music player
-** EMMS
-
-I listen to local files, so I want to control it in Emacs.
-
-#+begin_src emacs-lisp
- (use-package emms
- :config
- (emms-all)
- (setq emms-player-list '(emms-player-mpv)
- emms-info-functions '(emms-info-native))
- )
-
- (mms-leader-keys
- "p p" '(lambda () (interactive) (emms-pause) :wk "Pause")
- "p e" '(lambda () (interactive) (emms) :wk "Emms")
- )
-#+end_src
-
** Listen
+Listen.el is a new package for music playback.
+
#+begin_src emacs-lisp
(use-package listen
:ensure t)
@@ -190,9 +143,5 @@ Yeah, I'm trying it.
:config
(setq gnus-select-method '(nntp "news.gwene.org")) ;; Read feeds/atom through gwene
(setq gnus-summary-line-format "%U%R%z%d %I%(%[ %F %] %s %)\n"))
-
-
- (mms-leader-keys
- "o g" '(lambda () (interactive) (gnus) :wk "Gnus"))
#+end_src