diff --git a/features/mark-multiple-integration.feature b/features/mark-multiple-integration.feature index cd3eca8..fd2b32c 100644 --- a/features/mark-multiple-integration.feature +++ b/features/mark-multiple-integration.feature @@ -11,3 +11,14 @@ Feature: Mark multiple integration And I press "C->" And I type "sentence" Then I should see "This sentence contains the word sentence twice" + + Scenario: Mark two words and go to multiple cursors + Given there is no region selected + When I insert "This text contains the word text twice" + And I select "text" + And I press "C->" + And I press "C-g" + And I type "'" + And I press "C-f" 4 times + And I type "'" + Then I should see "This 'text' contains the word 'text' twice" diff --git a/features/support/env.el b/features/support/env.el index 6c5fe8e..686073d 100644 --- a/features/support/env.el +++ b/features/support/env.el @@ -14,6 +14,7 @@ (require 'ert) (Before + (mm/clear-all) (global-set-key (kbd "C->") 'mark-next-like-this) (switch-to-buffer (get-buffer-create "*multiple-cursors*"))