hop.nvim
hop.nvim copied to clipboard
Next release
Next release
This is issue is there to list all the new features that are going to end up in the next release of hop.nvim. The goal of this issue is informative first.
Hop v2.1
Information
You can use the RC branch if you want to test the branch, which should be very similar to the current master (nightly). Once the PR is merged, the major and minor branches will be created, as long as the git tag.
- RC branch:
- Major branch:
- Minor branch:
- Tag:
Feature list
HopYank: yank something by hinting buffers. A “new” cursor will appear at the location of the jump target but no jump will occur. You can then run the yank motion you would normally do, likeiwfor « inside word » ora(for « around()». Once it’s done, it will have automatically yanked that portion for you.HopPaste:HopYank+p.HopYank2: same thing withHopYankbut instead of asking you for a yank command (iw), it will start a second hint session to select the “end” target. Once it has both, it will yank from beginning to end.HopPaste2:HopYank2+p.HopYeet: pasteHopNormal: select a target position with hinting, and prompt the user for a:normalcommand to run there. That can be the foundation of implementing super fun features, such as “hey, show me the LSP documentation of that symbol other there, but don’t actually move my cursor there, thanks!”HopWindow, to switch window a bit in the same way that tmux works withprefix+q. It will put a single hint in all the windows, allowing you to simply move your cursor to that window.