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

sneak move is not the same I imagine #22951

Closed
1 task done
1925381584 opened this issue Jan 10, 2025 · 5 comments
Closed
1 task done

sneak move is not the same I imagine #22951

1925381584 opened this issue Jan 10, 2025 · 5 comments
Labels
bug [core label] vim

Comments

@1925381584
Copy link

1925381584 commented Jan 10, 2025

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

0b105ba
this PR add sneak motion, thanks for the author of this PR first , but I think it is two-letter version of command f,I think sneak move is like the following git. Of course, it's possible that the version of my understanding is not equivalent to this PR .
emacs_mJf1YDs0fO

Zed Version and System Specs

Zed: v0.170.0 (Zed Dev 0b105ba)
OS: Windows 10.0.19045
Memory: 15.7 GiB
Architecture: x86_64
GPU: Intel(R) Iris(R) Xe Graphics || Intel Corporation || 101.5972

If applicable, add screenshots or screencasts of the incorrect state / behavior

No response

If applicable, attach your Zed.log file to this issue.

Zed.log

@ConradIrwin
Copy link
Member

@1925381584 To clarify here - the main thing you'd like is to see the highlighting of the jump targets?

If you'd like to pair with me on this https://cal.com/conradirwin/pairing

@1925381584
Copy link
Author

Hi, I may not be able to match you, but I want to express the specific one.
First staring at that letter throughout the entire visible range, and then hit the letter. At this time, all the matched letters will have two temporary letters to indicate its position. Then you enter the two letters you want to go again. At this time, the cursor will jump to that position immediately.The difference between it and the existing sneak move is that it is a full visible range jump and has temporary highlighting. I think the existing sneak move is just a two-letter version of the F command, which can only move by adjacent positions, while moving in the full visible range is very practical in specific scenarios.

@ConradIrwin
Copy link
Member

I think the behavior that was implemented matches https://github.com/justinmk/vim-sneak?tab=readme-ov-file#usage; which is not the same as you describe. The plugin you are describing sounds more like EasyMotion (which was also requested, but not implemented yet!)

@1925381584
Copy link
Author

1925381584 commented Jan 25, 2025

yeah, you are right. because I only use emacs before, so I made a mistake about the name in vim

@ConradIrwin
Copy link
Member

Ok! Closing for now, but you might want to follow along at #4930

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug [core label] vim
Projects
None yet
Development

No branches or pull requests

3 participants