Skip to content

Latest commit

 

History

History
59 lines (50 loc) · 2.16 KB

README.org

File metadata and controls

59 lines (50 loc) · 2.16 KB

multiple-cursors layer

Table of Contents

Description

Features:

  • support for multiple cursors.

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add multiple-cursors to the existing dotspacemacs-configuration-layers list in this file.

Configuration

Currently the only supported backend is evil-mc, but more backends will be availabe in the future.

(setq-default dotspacemacs-configuration-layers '(
  (multiple-cursors :variables multiple-cursors-backend 'evil-mc))

Key bindings

evil-mc

The evil-mc package provides the following key bindings:

Key bindingDescription
g r fevil-mc-make-and-goto-first-cursor
g r hevil-mc-make-cursor-here
g r jevil-mc-make-cursor-move-next-line
g r kevil-mc-make-cursor-move-prev-line
g r levil-mc-make-and-goto-last-cursor
g r mevil-mc-make-all-cursors
g r nevil-mc-skip-and-goto-next-match
g r Nevil-mc-skip-and-goto-next-cursor
g r pevil-mc-skip-and-goto-prev-match
g r Pevil-mc-skip-and-goto-prev-cursor
g r revil-mc-resume-cursors
g r sevil-mc-pause-cursors
g r uevil-mc-undo-all-cursors

For easy navigation you also have the following:

Key bindingDescription
M-nevil-mc-make-and-goto-next-cursor
M-pevil-mc-make-and-goto-prev-cursor
C-nevil-mc-make-and-goto-next-match
C-pevil-mc-make-and-goto-prev-match
C-tevil-mc-skip-and-goto-next-match
C-M-jevil-mc-make-cursor-move-next-line
C-M-kevil-mc-make-cursor-move-prev-line