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

vim-anyfold is adding jumps to jumplist #19

Closed
nirajgup opened this issue Apr 10, 2018 · 1 comment
Closed

vim-anyfold is adding jumps to jumplist #19

nirajgup opened this issue Apr 10, 2018 · 1 comment

Comments

@nirajgup
Copy link

nirajgup commented Apr 10, 2018

Opening a file with folds messes up the jump list.

Replication steps

  1. Open a file for the first time with folds and let vim-anyfold fold the file
  2. Press [ctrl - O] repetitively to traverse back the jump list
  3. Notice it traverses through all the folds one by one
  4. You can view the jump stack by calling :jump command.

Possible Solution

We can make use of :keepjumps command to keep the jumplist intact.
Please read :help :keepjumps

@pseewald
Copy link
Owner

Thank you for letting me know, it should be fixed now.

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