Issue 111 goto last edit#114
Closed
abrookins wants to merge 5 commits into
Closed
Conversation
- ViRecordLastEdit saves the position of edits the user makes, in settings - ViGotoLastEdit jumps to the position of the last edit in a view and stores the original cursor position - If the user is at the position of the last edit and hits `'.`, ViGotoLastEdit jumps back to the original position
Collaborator
|
The rest of this looks good, I think. I'll give it a try soon. My other inline comment isn't showing up here. Weird Github bug?!?! Did you get an email/notification for the previous comment? |
Author
|
Thanks. I did get your comment - it was on my first pull request. I made a second one after adding the key binding because I wasn't quite sure how to update a pull request with more changes. I'll take a shot at using |
Author
|
Updated to use get_regions() and add_regions(). |
Collaborator
|
Works well for me 👍 I'll keep using this locally to see if the |
|
Any news on this? |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Jump to the last edit when a user hits
'.'., ViGotoLastEdit jumps back to the original positionNow with a proper keybinding.