6 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 8mo 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 8mo 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 8mo agoActually, `<n><space>` ignores things like new lines.
- arbitrandomuser 8mo 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 8mo 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 8mo agoNice! Thats what I was thinking of. Thanks!
- gsinclair 8mo agoCheck out folke/flash.nvim for a motion jump plugin. It’s brilliant.