Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement] Go to last edit location #1063

Closed
soyuka opened this issue Nov 18, 2016 · 4 comments
Closed

[enhancement] Go to last edit location #1063

soyuka opened this issue Nov 18, 2016 · 4 comments

Comments

@soyuka
Copy link

soyuka commented Nov 18, 2016

Please thumbs-up 👍 this issue if it personally affects you! You can do this by clicking on the emoji-face on the top right of this post. Issues with more thumbs-up will be prioritized.


What did you do?

g;

What did you expect to happen?

go to last edit location

What happened instead?

nothing

Technical details:

  • VSCode Version: 1.8.0-insider
  • VsCodeVim Version: 0.42
  • OS: debian/osx
@johnfn
Copy link
Member

johnfn commented Nov 19, 2016

Thanks for the feature request, @soyuka!

@johnfn johnfn closed this as completed in dd7aa19 Dec 7, 2016
@soyuka
Copy link
Author

soyuka commented Jan 20, 2017

I love you, just typed this as a "reflex" and it worked \o/. Didn't saw that it was fixed. Many thanks!

@bschlenk
Copy link

Is there any way to map '' (double apostrophe) to this? I'm used to using this command in vim to jump back and forth between the current and previous locations.

@jpoon
Copy link
Member

jpoon commented Feb 22, 2017

This should work:

"vim.otherModesKeyBindingsNonRecursive": [
   {
       "before": ['"'],
       "after": ['g', 'i']
   }
]

We've gotten a lot of questions about rebinding, if this helps you, please help improve our documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants