On 2010-10-05, [email protected] wrote:

> Alessandro Antonello <[email protected]> [10-10-05 14:04]:
> > >> when browsing long lines (not wrapped) of text I often wish
> > >> to know whether there is something like zt,zm,zb for horizontal
> > >> movements.... ?
> > >>
> > 
> > Type `:help |' and see if its help you.

> Hi,
> 
> thank you for your replies!
> 
> When there is need for jumping horizontally like z* does
> it vertically, the lines are very long (config scripts i.e.).
> 
> '|' exspects a number of the column to jump to. Since
> the line in question gets right far beyond the limit of the 
> terminal the total number of columns is not know. So
> the half of that number which would be needed to jump
> to the mid of the line in question is also unkown.
> 
> Therefore '|' is not of help in this case.

Sure it is.  Type '$' to move the cursor to the end of the line,
look at the ruler or type 'g Ctrl-G' to see the length of the line,
divide that number by two and use the result as the prefix to '|'.

Regards,
Gary

-- 
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

Reply via email to