---
title: "#이맥스 멀티커서 evil-mc evil-multiedit"
url: "https://notes.junghanacs.com/notes/20240927T144615"
author: "Junghan Kim"
date: "2024-09-27T14:46:00+09:00"
lastmod: "2025-03-05T00:00:00+09:00"
tags: ["bib","editing"]
description: "evil-mc와 evil-multiedit로 멀티커서 편집을 구현하는 방법을 자료와 함께 모은 노트이다."
---

> [!abstract] 이 노트에 대하여
> 
> Emacs에서 멀티커서를 어떻게 다룰지 evil-mc와 evil-multiedit 자료를 중심으로 정리한다. 영상과 패키지 문서를 함께 붙여 두어 실제 편집 실험으로 이어지기 쉽게 만든 노트다.

## BIBLIOGRAPHY

- *Emacs Multiple Cursors*. 2022. <https://www.youtube.com/watch?v=mDDeSKRc3Zo>.
- “Gabesoft/Evil-Mc.” 2025. <https://github.com/gabesoft/evil-mc>.
- “Hlissner/Evil-Multiedit: Multiple Cursors for Evil-Mode, Based on Iedit.” 2025. <https://github.com/hlissner/evil-multiedit>.
- “Magnars/Multiple-Cursors.El.” 2025. <https://github.com/magnars/multiple-cursors.el>.

## 관련노트

-   [#이블](https://notes.junghanacs.com/meta/20240927T143312)
-   [#LLM: iedit editing 편집](https://notes.junghanacs.com/notes/20250305T153705) 비교

## magnars/multiple-cursors.el

([“Magnars/Multiple-Cursors.El” 2025](https://notes.junghanacs.com/notes/20240927T144615#citeproc_bib_item_4))

-   Sveen, Magnar
-   Multiple cursors for emacs.
-   2025

## Emacs Multiple Cursors = How-to

[2023-06-25 Sun 12:41] (<a href="#citeproc_bib_item_1">*Emacs Multiple Cursors* 2022</a>) 영상을 보니까 쉽다. 바인딩도 무난하다.

<https://youtube.com/watch?v=mDDeSKRc3Zo&feature=share>

## [#둠이맥스](https://notes.junghanacs.com/meta/20241003T171723) 관련 evil-mc evil-multiedit

[2025-03-05 Wed 15:43]

아래에 있으나 안쓰고 어떻게 버티는가? evil은 아래과 같이 쓴다.

### gabesoft/evil-mc

([“Gabesoft/Evil-Mc” 2025](https://notes.junghanacs.com/notes/20240927T144615#citeproc_bib_item_2))

-   Adomnicai, Gabriel
-   Multiple cursors implementation for evil-mode
-   2025

-   The evil-mc keys are under the `gz` prefix, e.g.
    -   `gzz` to toggle new (frozen) cursors at point.
    -   `gzt` to toggle mirroring on and off (or switch to insert mode to activate them).
    -   `gzA` to place cursors at the end of each selected line.
    -   `gzI` will place them at the beginning.
-   There's also the ex command `:mc/REGEXP/FLAGS`, for laying down cursors by regex.

### hlissner/evil-multiedit: Multiple cursors for evil-mode, based on iedit

([“Hlissner/Evil-Multiedit: Multiple Cursors for Evil-Mode, Based on Iedit” 2025](https://notes.junghanacs.com/notes/20240927T144615#citeproc_bib_item_3)) Designates "interactive edit" regions. Only the textual changes to them are mirrored.

-   `M-d` to iedit the symbol at point. Again to iedit its next match.
-   `M-S-d` to do it backwards.
-   `R` (in visual mode) to iedit all matches of the selection at point in the buffer.
-   Or `:iedit/REGEX` to iedit all matches of REGEX.
