HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
magnars
multiple-cursors.el
Emacs Lisp2013–2024
magnars / multiple-cursors.el

multiple-cursors.el

Multiple cursors for emacs.

20Distinct people
22Mentions
2Explicit recommenders
2.6KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Multiple cursors for emacs.

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

And of course... https://github.com/magnars/multiple-cursors.el for emacs folks (I use it every day...)

dbpatterson used a recommendation phrase. 2 indexed comments match. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year22 dated mentions

Observed mentions: 2013-03-21 08:39:18 UTC to 2024-10-02 17:42:03 UTC.

012342013-01-01 00:00:00 UTC to 2014-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments20132014-01-01 00:00:00 UTC to 2015-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20132013-01-01 00:00:00 UTC2014-01-01 00:00:00 UTC404
20142014-01-01 00:00:00 UTC2015-01-01 00:00:00 UTC303
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC303
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC000
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC202
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC101
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC202
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC202
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC312

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
multiple-cursors.el Multiple cursors for Emacs. This is some pretty crazy functionality, so yes, there are kinks. Don't be afraid though, I've been using it since 2011 with great success and much merriment. Maintenance warning I use this package every day, and have been doing so for years. It just works. At least, it works for all my use cases. And if it breaks somehow, I fix it. However, it has become painfully clear to me that I don't have time to fix problems I don't have. It's been years since I could keep pace with the issues and pull requests. Whenever I try, I keep getting feedback that my fix isn't good enough by some standard I don't particularly care about. So, I have closed the issue tracker and the pull requests. I hope you can happily use this package, just like I do. If it doesn't work for you, then I'm sorry. Thankfully Emacs is infinitely malleable, you can probably fix it yourself. TLDR: I am still maintaining this package, but I am no longer crowdsourcing a list of issues. Installation I highly recommend installing multiple-cursors through package.el. It's available on MELPA, MELPA Stable and NonGNU ELPA (enabled by default from Emacs 28 onwards): M-x package-install multiple-cursors The package depends on the cl-lib package, so if you do not use package.el or have a recent Emacs, you would need to install that too: see GNU ELPA. Basic usage Start out with: (require 'multiple-cursors) Then you have to set up your keybindings - multiple-cursors doesn't presume to know how you'd like them laid out. Here are some examples: When you have an active region that spans multiple lines, the following will add a cursor to each line: (global-set-key (kbd "C-S-c C-S-c") 'mc/edit-lines) When you want to add multiple cursors not based on continuous lines, but based on keywords in the buffer, use: (global-set-key (kbd "C->") 'mc/mark-next-like-this) (global-set-key (kbd "C-<") 'mc/mark-previous-like-this) (global-set-key (kbd "C-c C-<") 'mc/mark-all-like-this) First mark the word, then add more cursors. To get out of multiple-cursors-mode, press <return> or C-g. The latter will first disable multiple regions before disabling multiple cursors. If you want to insert a newline in multiple-cursors-mode, use C-j. Video You can watch an intro to multiple-cursors at Emacs Rocks. Command overview Mark one more occurrence Command Description mc/mark-next-like-this Adds a cursor and region at the next part of the buffer forwards that matches the current region. mc/mark-next-like-this-word Adds a cursor and region at the next part of the buffer forwards that matches the current region, if no region is selected it selects the word at the point. mc/mark-next-like-this-symbol Adds a cursor and region at the next part of the buffer forwards that matches the current region, if no region is selected it selects the symbol at the point. mc/mark-next-word-like-this Like mc/mark-next-like-this but only for whole words. mc/mark-next-symbol-like-this Like mc/mark-next-like-this but only for whole symbols. mc/mark-previous-like-this Adds a cursor and region at the next part of the buffer backwards that matches the current region. mc/mark-previous-like-this-word Adds a cursor and region at the next part of the buffer backwards that matches the current region, if no region is selected it selects the word at the point. mc/mark-previous-like-this-symbol Adds a cursor and region at the next part of the buffer backwards that matches the current region, if no region is selected it selects the symbol at the point. mc/mark-previous-word-like-this Like mc/mark-previous-like-this but only for whole words. mc/mark-previous-symbol-like-this Like mc/mark-previous-like-this but only for whole symbols. mc/mark-more-like-this-extended Use arrow keys to quickly mark/skip next/previous occurrences. mc/add-cursor-on-click Bind to a mouse event to add cursors by clicking. See tips-section. mc/mark-pop Set a cursor at the current point and move to the next (different) position on the mark stack. This allows for fine grained control over the placement of cursors. Juggle around with the current cursors Command Description mc/unmark-next-like-this Remove the cursor furthest down in the buffer. mc/unmark-previous-like-this Remove the cursor furthest up in the buffer. mc/skip-to-next-like-this Remove the cursor furthest down, marking the next occurrence down. mc/skip-to-previous-like-this Remove the cursor furthest up, marking the next occurrence up. Mark many occurrences Command Description mc/edit-lines Adds one cursor to each line in the current region. mc/edit-beginnings-of-lines Adds a cursor at the start of each line in the current region. mc/edit-ends-of-lines Adds a cursor at the end of each line in the current region. mc/mark-all-like-this Marks all parts of the buffer that matches the current region. mc/mark-all-words-like-this Like mc/mark-all-like-this but only for whole words. mc/mark-all-symbols-like-this Like mc/mark-all-like-this but only for whole symbols. mc/mark-all-in-region Prompts for a string to match in the region, adding cursors to all of them. mc/mark-all-like-this-in-defun Marks all parts of the current defun that matches the current region. mc/mark-all-words-like-this-in-defun Like mc/mark-all-like-this-in-defun but only for whole words. mc/mark-all-symbols-like-this-in-defun Like mc/mark-all-like-this-in-defun but only for whole symbols. mc/mark-all-dwim Tries to be smart about marking everything you want. Can be pressed multiple times. Special Command Description set-rectangular-region-anchor Think of this one as set-mark except you're marking a rectangular region. mc/mark-sgml-tag-pair Mark the current opening and closing tag. mc/insert-numbers Insert increasing numbers for each cursor, top to bottom. mc/insert-letters Insert increasing letters for each cursor, top to bottom. mc/sort-regions Sort the ma
Read the full README on GitHub

What Hacker News says

22 sources
For me, the beauty of Beancount[0] is that it's just text files in Git. There's a web UI I use for generating reports, and a Python API with which I hacked together some import/export scripts, but 99% of my interactions with it are via Emacs[1] and Magit. GnuCash may use XML to store its data, but I'm pretty sure it's not designed around editing those XML files directly. A ton of repetitive bookkeeping tasks become so much easier when you can copy and paste, or use keyboard macros or something like multiple-cursors[2], rather than have to click tens or hundreds of times in a GUI. Many years ago I used QuickBooks, and basic tasks like importing a bank statement took at least an order of magnitude longer than they do now. Having my company's books in Git is also huge when it comes to auditing, concurrency, backups, and figuring out where
Read the rest
things went wrong when accounts don't balance. As mentioned in another comment: `git diff` is a really powerful tool and it's awesome to be able to check out the books as they existed at a particular point in time. `git blame` is great for when you're trying to figure out where a number came from. Writing meaningful commit messages and comments keeps me sane when I try to remember a year later why something is recorded the way it is. The biggest downside—or advantage, depending on how you look at it—is that there's no default or built-in chart of accounts, so you need a certain level of accounting acumen (or professional advice) to set things up at first. I'm pretty sure GnuCash aims to be plug-and-play, whereas Beancount is more akin to a programming library that you use to build an accounting system. I agree with the grandparent commenter, who said that text-based accounting is "the best and most flexible accounting experience I've ever had." But the cost of that flexibility is that there's a fair amount of DIY involved. [0]: https://beancount.io/ [1]: https://github.com/beancount/beancount-mode [2]: https://github.com/magnars/multiple-cursors.el
In Free IRS-run tax filing pilot to be available in 13 states
Emacs has multiple cursors: https://github.com/magnars/multiple-cursors.el I used VSCode for a few years, but never found a way to work with code in semantic units vs. as text. And I like that no matter what language I'm working in, the experience is the same. VSCode plugin editors may or may not (read: wouldn't have) agreed on a set of conventions for working with code independent of the programming language.
In Emacs 26.2 Released
I used http://r-fiddle.org to verify what was the intended function, then used built-in Artist Mode (M-x artist-mode) to draw an ellipse for function and square for axes, and finally cut it down in fundamental-mode and added labels. It's basically vanilla Emacs, but I admit to using multiple-cursors.el for some cleanup. It's an excellent addon mode offering a more interactive way to do some things you'd otherwise do via keyboard macros. Check out [0] and [1]. [0] - https://github.com/magnars/multiple-cursors.el [1] - http://emacsrocks.com/e13.html
In Different Brain Regions Are Infected with Fungi in Alzheimer’s Disease
Links to some of the tools used clojure and clojurescript https://github.com/clojure-emacs/clj-refactor.el (refactoring) https://github.com/clojure-emacs/cider (IDE) https://github.com/bhauman/lein-figwheel (code reloading) emacs https://github.com/magit/magit (the interface to Git) https://github.com/abo-abo/avy (jumping around) https://github.com/magnars/expand-region.el (marking stuff) https://github.com/magnars/multiple-cursors.el (placing cursors at similar stuff and editing all at once)
In Parens of the Dead

Showing the 15 most recent of 22 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.