Emacs Rocks! Episode 13: multiple-cursors
Channel:emacsrocks · Length:3:56 · Published:2012-09-23 · Views:126794
Summary
A four-minute Emacs Rocks screencast demonstrating the multiple-cursors package for Emacs. It shows how editing at many places at once can replace repetitive manual edits.
Why HN recommends it
Cited as the canonical demo of multiple cursors and of fluent, efficient Emacs editing.
One of the better examples of the usefulness of multiple cursors is from Emacs Rocks — HN, 2026
Testing, debugging & developer tools
Subtitles (excerpt)
welcome back to emac rocks and my experiment in adding multiple cursors to emac I started the experiment a year ago and it took me just 2 hours to get a usable first version since then I've been using it and tweaking it as you might imagine there are a few edge cases so let's dive in looks like an online fruit vendor like mark multiple you can mark one then add more and change them but look we now have three cursors let's make these IDs into a class instead and move it up to the LI okay time for some internationalization copy these lowercase no spaces and the name space okay I paste back in copy this for my properties file and undo add the i n tag okay done now I can jump over to the properties file and paste it in there that was fun if you've got continuous lines you can set an anchor for rectangular Mark I bind it to hyperspace yeah it's that cool let's change my site to an app of course apps need that extra oomph so exclamation marks for all the fruit please okay moving on renaming files can be a chore these are weirdly named TC is my old way of saying test case let's just change it to underscore test I change to writeable deid save and done nice last example this is the emac Rocks Channel uh these are all my videos with duration and Views I'm curious how much
On Hacker News
dot repeat is the wrong comparison. A closer one would be macros, but even then a good multiple cursors implementation is often faster, more intuitive, and requires less cognitive overhead. One of the better examples of the usefulness of multiple cursors is from Emacs Rocks (link goes to 0:23): [VIDEO] — wilkystyle, 2026-03
I have all commands I don't remember bound to leader keys. When in calc I have [leader key] m and then which-key pops up everything I have stored. Other than that, I use scratch in elisp mode and eval. Not as fluent as magnars, but this is a good example of what I mean (towards the end): [VIDEO] — bjoli, 2020-06
I don't know how much faster navigating a buffer can be than doing it in emacs or vim, both of which can switch buffers with the press of a single key and do fuzzy-matching of buffer/file names with a keystroke or two. They can also navigate by moving or clicking around tree-structured directory trees, through menus, and many other ways. Again, it would be nice if people offered specifics when th… — pmoriarty, 2014-11
Related videos
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- "Testing Distributed Systems w/ Deterministic Simulation" by Will Wilson · Strange Loop Conference · 40:20
- 🚀 TDD, Where Did It All Go Wrong (Ian Cooper) · DevTernity Conference · 1:03:55
- Bret Victor - Inventing on Principle · Rui Oliveira · 54:20
- Solving Problems the Clojure Way - Rafal Dittwald · Clojure/north · 1:02:26
- Debugging Under Fire: Keep your Head when Systems have Lost their Mind • Bryan Cantrill • GOTO 2017 · GOTO Conferences · 52:34
- "Performance Matters" by Emery Berger · Strange Loop Conference · 42:15
- A Tour of the Acme Editor · Russ Cox · 23:16
- Tech Talk: Linus Torvalds on git · Google · 1:10:15
- "How NOT to Measure Latency" by Gil Tene · Strange Loop Conference · 42:59
- Ruby Conf 12 - Boundaries by Gary Bernhardt · Confreaks · 45:55
- Using Python to Code by Voice · Next Day Video · 28:17
- How to Do 90% of What Plugins Do (With Just Vim) · thoughtbot · 1:14:02
- Lecture 6: Version Control (git) (2020) · Missing Semester · 1:24:59
- Literate Devops with Emacs · Howard Abrams · 28:36
- Dan Abramov - Live React: Hot Reloading with Time Travel at react-europe 2015 · ReactEurope · 30:40