Is there interest in a simplified Goto Anything feature? This would make it much simpler to navigate inside files for me.
I'm aware of the goto line number issue. This would supersede that feature. It could work as follows:
- Add a key binding to pop an overlay to enter a string. My suggestion is Ctrl+g in Emacs mode. Ctrl+p makes more sense, but it is already in use. Ctrl+g is often used as "Goto line number" in other editors.
- The overlay would accept a string terminated by enter.
- If the entered string can be parsed as an int, jump to that line number and exit the overlay.
- Otherwise, jump to the next occurrence of that string in the file while keeping the overlay active. Pressing enter again jumps to the following occurrence of the search string, wrapping indefinitely. Any other key exits the overlay.
Is there interest in a simplified Goto Anything feature? This would make it much simpler to navigate inside files for me.
I'm aware of the goto line number issue. This would supersede that feature. It could work as follows: