mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2026-02-04 14:22:24 +00:00
Added mc-version of mark-all-like-this
This commit is contained in:
@@ -79,3 +79,9 @@ Feature: Marking multiple parts of the buffer
|
||||
And I press "C-- M-<"
|
||||
And I type "more"
|
||||
Then I should see "Here's text, more and more"
|
||||
|
||||
Scenario: Marking all
|
||||
When I insert "Here's text, text and text"
|
||||
And I select "text"
|
||||
And I press "M-!"
|
||||
Then I should have 3 cursors
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
(global-set-key (kbd "C->") 'mark-next-like-this)
|
||||
(global-set-key (kbd "M->") 'mc/mark-next-like-this)
|
||||
(global-set-key (kbd "M-<") 'mc/mark-previous-like-this)
|
||||
(global-set-key (kbd "M-!") 'mc/mark-all-like-this)
|
||||
(global-set-key (kbd "H-SPC") 'set-rectangular-region-anchor)
|
||||
(switch-to-buffer
|
||||
(get-buffer-create "*multiple-cursors*"))
|
||||
|
||||
Reference in New Issue
Block a user