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

Request: Not modifying Jumplist on format #361

Open
joshpetit opened this issue Aug 20, 2021 · 1 comment
Open

Request: Not modifying Jumplist on format #361

joshpetit opened this issue Aug 20, 2021 · 1 comment

Comments

@joshpetit
Copy link
Contributor

Thank you for this awesome plugin! Makes code 100x more readable.

One thing that I've noticed that trips me up is that the top of the file is added to the jump list after a format. Usually what will happen is I'll:

  1. Autoformat the file
  2. Hit C-o

And instead of going to where I last was (whether that is another file or another place in the current file) I'll go to the top of the file. I was wondering if it'd be possible to not modify the jump list, it's a small thing but I would appreciate it! Thank you!

@chtenb
Copy link
Member

chtenb commented Aug 20, 2021

I guess we could investigate under what circumstances the top of the file is added to the jumplist and then remove it from the jumplist, something like that.

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

No branches or pull requests

2 participants