On 24/10/08 21:28, Siddhartha Kasivajhula wrote:
> Hi,
>
> I am using gVim 7.2 for Windows. I notice that when you press $, the
> cursor goes to the end of the line, *and then stays at the end of every
> line when you move it up or down*, but when you type ^, the cursor goes
> to the beginning of the current line, but does not stay at the beginning
> of the line when you move to a different line (by using j,k), but
> instead stays in the same column.
>
> Is this the expected behavior? I wonder if it would be better for it to
> maintain position as "beginning of line" across lines when ^ is pressed,
> similar to the behavior of $.
>
> Thanks,
> -Siddhartha
I think this is intended behaviour. AFAIK there's no command which will
make j k <Up> <Down> etc. move zig-zag to always the first non-blank.
Best regards,
Tony.
--
Mathematicians often resort to something called Hilbert space, which is
described as being n-dimensional. Like modern sex, any number can
play.
-- Dr. Thor Wald, in "Beep/The Quincunx of Time", by
James Blish
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---