On 2009-10-05, Paul wrote:
> On Mon, 5 Oct 2009, Brett Stahlman wrote:
> 
> > nnoremap <F8> :exe "resize " . (line('.') - line('w0') + 1)<CR>\|zb
> 
> Yes, you have the idea. That works for horizontal split. Now, how about for 
> vertical split? I don't see a column() function...

    :help col()

Found by:

    :help functions
    /column

Example:

    echo col('.')

Regards,
Gary



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

Reply via email to