6

This question already has an answer here:

This question has been migrated from here

I have started using vim a while back and have been jumping with my right hand on and off "home row". As I learned more about efficient navigation, using "f,t" and "F,T" became my favourite way to navigate within the row, i.e. horizontally. It is so convenient that i started considering "hardcore vim" mode where the homerow navigation is turned off altogether.

My question is, what would be the high precision vertical navigation approach in "hardcore vim" mode. Move up one line, move down one line. Few key strokes to position your cursor exactly on a line without knowing or caring about the line number.

Thanks!

P.S. I do know about moving per paragraph, enclosing brackets, but somehow i miss the type of precision that horizontal navigation has.

After a bit of research:

This question seems to be very close to what I am asking. Although the accepted answer doesn't quite fit the bill for me, it contains a link to EasyMotion plugin, that could help to speed up navigation without using the home row. Downside being having to install a plugin vs. using raw vim.

marked as duplicate by muru Apr 29 '16 at 1:42

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3

I usually use '/' and '?', (forward and backward search) when having to navigate to a line I can see in my buffer. Using a precise enough search I move directly to the wanted position.

  • This seems like the way to go indeed – ambushed Apr 13 '16 at 20:23
  • 3
    @ambushed you might also want to :set incsearch – evilsoup Apr 13 '16 at 21:26

Not the answer you're looking for? Browse other questions tagged or ask your own question.