Siddhartha Kasivajhula schrieb:
> 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

The opposite of  $  is  0  or  | , but not  ^ .
The opposite of  ^  is  g_  (go to the last non-blank in the line).
Press  -  and  + (or Enter) to move up and down staying on the first
non-blank.

-- 
Andy


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui