add replace mode#573
Conversation
801c9e8 to
39432e7
Compare
bece501 to
b0b7b21
Compare
|
merge conflicts resolved |
|
I don't think I'm able to give a good code-review, but thanks for starting this! 👍 |
b0b7b21 to
794b86d
Compare
794b86d to
5cdf890
Compare
|
It'd be great to see this merged. vim-mode has very impressive support for vim commands but I definitely get tripped up by the lack of |
|
This is so freaking great. I love it. Would like to see it merged asap. Any chance of using an underline cursor like gvim? (gvim's normal mode is block cursor, insert mode is vertical caret, and replace mode is underline cursor... pretty handy) |
|
Underline cursor is easy: bronson/vim-mode-next@0b58132 |
ff5a06b to
f2f2530
Compare
|
added handling of backspace as undo, added further tests, rebased to master, enjoy. 8-) |
|
Ugh, I may have made a merge mistake... A few tests are failing and replace-mode-backspace doesn't work very well in vim-mode-next. (it's hard to describe... you can see it trying to work) Any chance you could glance at https://github.com/bronson/vim-mode-next/commits/replace-undo and see if it's an easy fix? Otherwise I can look later next week. |
|
@bronson, I think just one line jacekkopecky@2d06dc7#diff-6490a794da4d70296766233694896f7fR423 is missing. |
|
@bronson regarding block cursor - I got inspiration from your commit, but I hope you don't mind if it ended up slightly different. Thanks for poking me about it. |
|
You're right, dunno how I did that. Works great, thanks! Like the underline cursor. |
|
I think you can remove "first cut of" from the PR's title. This thing is pretty darned mature now. :) |
|
👍 |
|
Sorry, I took the style from my own custom style and didn't realize I used |
1deecb3 to
a0c8ee2
Compare
|
rebased to master; and I can't seem to replicate that weird behaviour I used to see with multiple cursors, maybe it was something in Atom that got fixed... I'll remove that comment from the docs. |
|
❤️ |
This addresses #562; also it partly addresses #564.
I got the inspiration for this implementation from @brunetton's
atom-overtype-modepackage.(edited)
Features:
backspaceacts as undoLimitations:
.with multiple cursors may eat a character for one of those cursors, but I’ve no idea why