4 ms·
Has the author heard of gj and gk?
by maxaf 10y ago
Has the author heard of gj and gk?
- a3n 10y agoMy immediate first thought. Although, the Vim is large and our brains so very small.
- dave2000 10y agoIt's worth reading the description again in that case, and following the examples in the screenshots. It's not doing the same thing.
- a3n 10y agoIf I understand correctly, I can gj down a few times and get the same general effect, without having to install something. For me there's a tension between a growing number of very specific features and my ability to remember them all. These days I opt for minimal vim addons, as there's usually a good enough way to get something done by default. But for people who need exactly this sort of thing, this thing is exactly the sort of thing they'll like.
- dave2000 10y agoYeah, gj is similar in the same way that you can press l a few times instead of e. (I've mapped j to do the same thing as gj anyway as I want to navigate the physical screen, not honour lines as indivisible entities).
- manulp 10y agoIt's not really the same though, gj and gk move the cursor by displayed lines instead of real lines. Op's plugin is like transposing the buffer like a matrix, and then using normal word motions on the line that was a column.