4 ms·
Emacs' Avy package has the same functionality for the longest time. I'll share my experience. Lots of people like this way of navigation in the Emacs world.
by ww520 4y ago
Emacs' Avy package has the same functionality for the longest time. I'll share my experience. Lots of people like this way of navigation in the Emacs world. I don't. It takes extra mental energy to navigate like this. You need to:
1. Look at where you want to jump to and scan for suitable search patterns.
2. Do a rough calculation to pick the closest semi-unique pattern.
3. Do the search on the pattern.
4. Go over the labels to see which label is the closest to where you want to go.
5. Pick the label to jump.
I just want some dumb muscle memory to navigate to where I want to go. I don't mind type a few extra keystrokes. I don't want to make all these decisions along the way.
- thrown_22 4y agoOne thing I've been playing around for the longest time is gaze detection. You're already looking at the area you need to jump to, with some dedicated hardware you have it as another type of mark and then you just need to lock it in place, switch directly or any number of other actions. Unfortunately you need a _very_ high resolution set of cameras placed in a known pattern around the screen for that and the hardware just doesn't exist to do it yet. On the bright side once you have the hardware you get trivial 3d scans of your face for VR conferencing.
- ww520 4y agoThis is a good idea. In addition to the input cursor, have an eye cursor showing on the text tracking where the eyes are looking at. The eye cursor moves to where the eyes focus. Press a special key, like ctrl-space, to set the input cursor to the eye cursor. The cameras can be calibrated when the eyes focus at the 4 corners of the editor. For the cameras, may be a lidar would work better? IPhone has these 3D face scan for the longest time for unlocking. Those read the eyes. Eye tracking HUD for fighter pilot have been working for a long time, so it's doable. Edit: This page has some info on eye tracking. https://imotions.com/blog/eye-tracking-work/ https://imotions.com/blog/eye-tracking-work/
- thrown_22 4y agoYes, it's rather more doable if you wear glasses/helmets.
- zwkrt 4y agoI feel exactly the same way. I like the idea in theory, but in practice my code files have too many repeating common characters for a two-letter jump to be useful. The only thing that this extension offers that vim's `/` doesn't is the ability to use it as a movement. But in practice I think that it is too finickey. I just enter visual mode, search for my destination, and then apply the operation. So for the text the quick brown fox jumps over the lazy dog ^ I know that with sneak I could type `gUzx ` to upper case everthing up until 'jumps'. But `v/x <ENTER>U` works just fine, and to my neanderthal brain is way less mental overhead. Not to mention I get to see what I am doing instead of having to just imagine it.
- skribanto 4y ago/ can be used as a movement though?