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 sneak: store initial position in jumplist #23527

Open
1 task done
thomasheartman opened this issue Jan 23, 2025 · 0 comments
Open
1 task done

Vim sneak: store initial position in jumplist #23527

thomasheartman opened this issue Jan 23, 2025 · 0 comments
Labels
enhancement [core label] vim

Comments

@thomasheartman
Copy link

Check for existing issues

  • Completed

Describe the feature

This is halfway between a feature request and a bug report, so I've filed it as the former.

The new vim sneak movement is pretty cool! But it doesn't seem to store your original position in the jump list. From the original vim-sneak readme:

Type ctrl-o or `` to go back to the starting point.

This is a built-in Vim motion; Sneak adds to Vim's jumplist only on s invocation—not repeats—so you can abandon a trail of ; or , by a single ctrl-o or ``.

At least from my testing, it doesn't seem to do add your initial position to the jumplist, so ctrl-o might take you somewhere else entirely.

Not sure whether it was left out by accident or if it was a decision not to include it, but the issue/pr from the release notes didn't seem to mention it.

Zed Version and System Specs

Zed: v0.170.1 (Zed)
OS: macOS 14.6.1
Memory: 16 GiB
Architecture: aarch64

If applicable, add mockups / screenshots to help present your vision of the feature

No response

@thomasheartman thomasheartman added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Jan 23, 2025
@JosephTLyons JosephTLyons added vim and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement [core label] vim
Projects
None yet
Development

No branches or pull requests

2 participants