On 11/11/08 22:09, Gene Kwiecinski wrote:
>> If you just want to know the current line number there are three
> methods:
>>      :echo line('.')
>> answers with the current line number.
>
> Actually, I like
>
>       :.=
>
> better 'cause it's that much less typing.  :D

Yes, but (thanks to :exec and maybe also :norm) you can use line('.') 
wherever you need the number of the current line. If you just need to 
"know" what it is, no need to type anything :-P, just direct your gaze 
to the bottom right corner of your current window.


Best regards,
Tony.
-- 
GOD: That is your purpose Arthur ... the Quest for the Holy Grail ...
          "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

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

Reply via email to