Hi meino.cramer! On Mi, 30 Sep 2009, [email protected] wrote:
> for scripting purposes I am searching a function in vimscript, > which returns the linenumber of the window the cursor is > currently in. > getpos() return beside other things the number of the line > when set number is on. > I am looking for a function which returns a number > between 0/1 and winheight() regardless how long the file > is (even if there no file at all) Are you looking for winline()? > > Thank you very much for your help in advance! > > PS: Why does vim indents the text of this mail after > the first line in this mysterious was? Some strange indent expression/plugin? regards, Christian -- :wq! --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
