4 ms·
Instead of having encyclopedic knowledge of every feature, I think editor fluency is being really good at the few features you need such that the editor is no l
by omoikane 9mo ago
Instead of having encyclopedic knowledge of every feature, I think editor fluency is being really good at the few features you need such that the editor is no longer the bottleneck.
The few features you really need to know for VIM are mostly in `:help motion.txt`. Knowledge of other features is obviously helpful in actually editing text, but being able to navigate well should remove most of the bottlenecks, especially considering how most VIM commands take motion into account.
- michaelbarton 9mo agoDoes 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.