t9md / atom-vim-mode-plus

vim-mode improved
https://atom.io/packages/vim-mode-plus
MIT License
1.4k stars 111 forks source link

[default change] opinionated default setting part3. #1106

Closed t9md closed 5 years ago

t9md commented 5 years ago

Continuation of #728

replaceByDiffOnSurround: now true

Benefit:

setCursorToStartOfChangeOnUndoRedo: now false

To say simply, this is just directly using atom's undo/redo marker for cursor placement. To make this work well, careful marker snapshotting(transact, checkpoint) is crucial(#603). I have been using vmp with this setting enabled for over 6 months. And I really like it. I can consider this change as part of default stayOnXXX = true. The reason why I couldn't introduce this change is #617 was not fixed yet before.