This repository was archived by the owner on Apr 6, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 249
Insert with count, repeating . with prefix
#609
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b168c3c to
d1220fd
Compare
Repeated insert such as `3i` and `3a` now works. Also, `.` with a count (such as `3.`) now changes the old prefix: * for example `2dd3.` will delete 2 and then 3 lines, a subsequent `.` will again delete 3 lines; * similarly `dl3.` will delete a character and then 3 more, a subsequent `.` will again delete 3 characters.
d1220fd to
10e48d2
Compare
Contributor
Author
|
#568 is WIP again so this PR will have to be delayed. |
Closed
Contributor
Author
Closed
Contributor
|
As stated in the README, this package is no longer maintained and is deprecated. We recommend that people use the vim-mode-plus package instead. Because of this, we are archiving this repository and closing all issues and pull requests. Thanks very much for your support and contributions! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi, this one has two extra things: it started as insert with count, then I realized I really wanted it over #565, and also I really needed to fix handling of
.with count.So here's what this PR does:
3iand3anow works (fixes Does not repeat inserts #580).with a count (such as3.) now changes the old prefix of any command:2dd3.will delete 2 and then 3 lines, a subsequent.will again delete 3 lines;dl3.will delete a character and then 3 more, a subsequent.will again delete 3 characters..#568 .If you want this PR split, please say which part should go first.