Difference between revisions of "Mark Multiple"

From WikEmacs
Jump to navigation Jump to search
 
Line 26: Line 26:
 
: Mark all matching regions
 
: Mark all matching regions
  
Prefix arguments can be used to skip the current region.
+
A prefix argument of zero can be used to skip the current region.
  
; {{CommandKeys|C-u C-<|mark-previous-like-this}}
+
; {{CommandKeys|C-u 0 C-<|mark-previous-like-this}}
 
: Unmark the current region and mark the previous matching region
 
: Unmark the current region and mark the previous matching region
  
; {{CommandKeys|C-u C->|mark-next-like-this}}
+
; {{CommandKeys|C-u 0 C->|mark-next-like-this}}
 
: Unmark the current region and mark the next matching region
 
: Unmark the current region and mark the next matching region
  

Latest revision as of 19:01, 22 July 2012

Mark Multiple
Description Concurrent editing of multiple regions
Author Magnar Sveen
Maintainer Magnar Sveen
Source https://github.com/magnars/mark-multiple.el

Mark Multiple is an Emacs mode for concurrently editing multiple regions.

Basic setup

See the GitHub README.

Helpful keybindings

If you use the bindings suggested in the project README, select a region and then use

[C-<] (or M-x mark-previous-like-this)
Mark the previous matching region
[C->] (or M-x mark-next-like-this)
Mark the next matching region
[C-*] (or M-x mark-all-like-this)
Mark all matching regions

A prefix argument of zero can be used to skip the current region.

[C-u 0 C-<] (or M-x mark-previous-like-this)
Unmark the current region and mark the previous matching region
[C-u 0 C->] (or M-x mark-next-like-this)
Unmark the current region and mark the next matching region

Common Customization

See Also

Project Pages