Ivan Van Laningham wrote: > let mylines="$VIM_LINES"+0 > let mycolumns="$VIM_COLUMNS"+0 > set lines=mylines > set columns=mycolumns
I think we are assuming that you have defined an environment variable VIM_LINES (and VIM_COLUMNS) which you could see in Vim with command: :echo $VIM_LINES The "set" command takes text, so you need to build the command line: " The '+0' is only needed if you need 'mylines' as a number. :let mylines=$VIM_LINES+0 :execute 'set lines='.mylines John --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
