logoalt Hacker News

mastermedoyesterday at 4:22 PM1 replyview on HN

Interesting. Thanks for sharing.

I'm curious about something a bit different. Given a vim buffer, and picking two caret locations in it, I'd like a tool that shows only the paths to getting there with my current Vim setup (including all the plugins).

After 10 years of using vim, I rarely use L and H. For horizontal moving it's almost always F or S (vim-sneak).


Replies

busfahreryesterday at 4:53 PM

More often than L and H, I use { and }, which jumps across paragraphs (i.e. blocks of lines separated by blank lines).

I've found that most of my code consists of 3-5 line blocks, and { and } feel like a nice medium-range navigation tool, because oftentimes CTRL+D jumps too far.

The downside is that both of these jumps go into the jump table, so they will clutter your CTRL+O history a bit.

But I think I'm weird in this regard.

show 1 reply