3 ms·
Does anyone have a motion jump plugin they use with neovim they can recommend? I used to use a plugin where you could just to a given character in a given buffe
by michaelbarton 9mo ago
Does anyone have a motion jump plugin they use with neovim they can recommend? I used to use a plugin where you could just to a given character in a given buffer, but I can’t remember the name or if it even works with neovim.
- jmholla 9mo agoLike the nth character in the current buffer? I believe vim has that built-in: `<n>go`. I think `<n><space>` will do it relative to your current position.
- jmholla 9mo agoActually, `<n><space>` ignores things like new lines.
- arbitrandomuser 9mo agoleap.nvim you press a keybind and then press one or two characters , all instances of that character pair in the viewport will get get a hint (a characteror two in highlight) , hit those two hint keys and the cursor jumps to that location its incredibly fast to navigate around your viewport with this. https://codeberg.org/andyg/leap.nvim https://codeberg.org/andyg/leap.nvim
- Kilenaitor 9mo ago+1 Leap takes a second to get used to but I love it so much. Even if you don't get to the precise character you want, you can get so close enough that normal motion commands get you the rest of the way. I do change the bindings, tho. I have 's' leap forwards and 'S' leap backwards.
- michaelbarton 9mo agoNice! Thats what I was thinking of. Thanks!
- gsinclair 9mo agoCheck out folke/flash.nvim for a motion jump plugin. It’s brilliant.