This website requires JavaScript.
Explore
Help
Sign In
xenia
/
home
Watch
1
Star
0
Fork
0
You've already forked home
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
af66a95ef8
home
/
test
/
normal
/
selection-undo
/
fold-redundant-entries
/
cmd
2 lines
1 B
Raw
Normal View
History
Unescape
Escape
Make selection undo skip over entries that are nop after buffer change After buffer modification - in particular after deletion - adjacent selection history entries may correspond to the same effective selection when applied to the current buffer. This means that we sometimes need to press <c-h> multiple times to make one visible change. This is not what the user expects, so let's keep walking the selection history until we hit an actual change. Alternatively, we could minimize the selection history after buffer changes but I think that would make the it worse after content undo+redo.
2022-12-22 18:09:45 +01:00
Reference in New Issue
Copy Permalink
Mastodon