mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 13:03:03 +00:00

* README.md: Add to readme, under special section. * features/insert-letters.feature: Add scenarios. * features/step-definitions/multiple-cursors-steps.el: Add call. * features/support/env.el: Add keybinding for insert-letters to H-3. * mc-separate-operations.el: Add function and helper functions. * multiple-cursors-core.el: Add insert-letters to functions that run once. * multiple-cursors.el: Add to readme.
19 lines
779 B
Gherkin
19 lines
779 B
Gherkin
Feature: Insert increasing letters
|
|
|
|
Scenario: Three cursors, a-b-c
|
|
Given I have cursors at "text" in "This text contains the word text thrice (text)"
|
|
When I press "H-3"
|
|
And I press "SPC"
|
|
Then I should see "This a text contains the word b text thrice (c text)"
|
|
|
|
Scenario: Three cursors, j-k-l
|
|
Given I have cursors at "text" in "This text contains the word text thrice (text)"
|
|
When I press "C-9 H-3"
|
|
And I press "SPC"
|
|
Then I should see "This j text contains the word k text thrice (l text)"
|
|
|
|
Scenario: Three cursors, z-aa-ab
|
|
Given I have cursors at "text" in "This text contains the word text thrice (text)"
|
|
When I press "C-u 2 5 H-3"
|
|
And I press "SPC"
|
|
Then I should see "This z text contains the word aa text thrice (ab text)" |