On 2016-09-13 08:23, Amit Christian wrote: > I find it still difficult to go to next lines or browsing up or > down through the text. Can any one please help me with efficient > use of working with text without a usual j,k,h,l use? Are there > resources or help on internet? What are your strategies to work > with text?
Depends on what you're trying to do. For basic reading, I usually read about half a screen-full at a time, so I tend to use ctrl+U and ctrl+D to scroll by half a screen. You might also find setting 'scrolloff' to a big number helps. In such a case, I don't have any issues with using j/k because I *am* reading one line at a time. For code, I tend to use things like ]] to navigate by code units. Jump to the beginning/end of the next block/function/section. Vim has a rich set of features (and plugins for additional features) that allow you to jump around code with more refined motions. Also, it would depend on whether you're trying to *read* the content, or *edit* the content. Rather than moving to the start, going visual, and moving to the end, the use of "text objects" are one of Vim's killer features. You can address conceptual objects from anywhere within them. :help text-objects -tim -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
