Alien Top
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
WorldsEndlessB to Emacs@communick.news · 1 year ago

My EMMS Transient

orys.us

external-link
message-square
2
fedilink
1
external-link

My EMMS Transient

orys.us

WorldsEndlessB to Emacs@communick.news · 1 year ago
message-square
2
fedilink
Transient for convenience with emms
orys.us
external-link
A new version of Transient, so here’s my media helper This was posted to Reddit.1 With the recent announcement of a new version of Transient, I thought I would post the transient helper I wrote for the deeply customizable built-in-to-emacs emms music player, which I have been enjoying once I stopped thinking of it as Winamp or Spotify or whatever player I used previously. tsa/transient-emms (transient-define-prefix tsa/transient-emms () "EMMS music" :transient-non-suffix 'transient--do-quit-one ["EMMS" ["Controls" ("p" "⏯ Play/Pause" emms-pause) ("s" "⏹ Stop" emms-stop) ("S" "⏲ Seek to time" emms-seek-to) ("n" "⏭ Next" emms-next) ("B" "⏮ Back (Previous)" emms-previous) ("b" "⏪ Back rewind" emms-seek-backward :transient transient--do-stay) ;; I want the transient to stay open on just these commands, so I can easily repeat them ("f" "⏩ Fast-Forward" emms-seek-forward :transient transient--do-stay)] ["Playlist" ("N" "Cue Next" emms-cue-previous) ("P" "Cue Previous" emms-cue-previous) ("r" "🔀 play Random" emms-random) ("R" "🔀 toggle shuffle" emms-toggle-random-playlist) ] ["Global/External" ("d" "📂 emms Dired" emms-play-dired) ("u" "Music dir" tsa/jump-to-music) ;; invokes a bookmark, which in turn hops to my bookmarked music directory ("m" "Modeline" emms-mode-line-mode) ("M" "current info" emms-show) ("e" "emms" emms)] ]) Just bind this to a global key and I start enjoying music and podcasts.

Emacs@communick.news

emacs@communick.news

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !emacs@communick.news
lock
Community locked: only moderators can create posts. You can still comment on posts.

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

  • Windows
  • Mac OS X
  • GNU/Linux and BSD (Just get it from your distribution’s package manager)

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for “emacs” and “vi” link to each other. We good.

Emacs Resources

  • Emacs Wiki
  • WikEmacs
  • Emacs Reference (PDF)
  • Learning & Mastering Emacs
  • Weekly tips/tricks/etc threads

Emacs Tutorials

  • Beginner’s Guide to Emacs
  • Absolute Beginner’s Guide to Emacs
  • How to Learn Emacs: A Hand-drawn One-pager for Beginners

Useful Emacs configuration files and distributions

  • Better Defaults
  • Example configurations

Quick pain-saver tip

  • Put the Caps Lock key to better use!
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 36 users / 6 months
  • 8 local subscribers
  • 342 subscribers
  • 544 Posts
  • 2.31K Comments
  • Modlog
  • mods:
  • rglullis@communick.news
  • raphael@communick.news
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org