On 14/07/10 16:41, Hoss wrote:
Hi,

If I have :set wrap, and a single line of text that spans say 3
physical lines of my display, how do I move the cursor up, and down,
one line of physical display at a time? The usual movement keys
traverse logical lines, of course.

-Todd


see
        :help gj
        :help gk

For instance
        " use <Up><Down> to move by "screen" lines,
        " jk (Normal mode only) to move by "file" lines
        :map    <Up>      gk
        :map    <Down>    gj
        :imap   <Up>      <C-O>gk
        :imap   <Down>    <C-O>gj


Best regards,
Tony.
--
Others will look to you for stability, so hide when you bite your
nails.

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