Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, March 28, 2024

Diff for vimconfig/vimrc between version 1.50 and 1.51

version 1.50, 2002/04/06 17:25:28 version 1.51, 2002/04/19 16:23:12
Line 197  set t_vb=
Line 197  set t_vb=
   
 " Set this, if you will open all windows for files specified  " Set this, if you will open all windows for files specified
 " on the commandline at vim startup.  " on the commandline at vim startup.
 "let g:open_all_win=1  let g:open_all_win=1
 let g:open_all_win=0  
   
 " Settings for folding long lines  " Settings for folding long lines
 let g:fold_long_lines=300  let g:fold_long_lines=300
Line 460  endfunction
Line 459  endfunction
 " reload.  " reload.
 "  "
 function! OpenAllWin()  function! OpenAllWin()
         let i = 0          " save Vim option to variable
         if !exists("opened")          let s:save_split = &splitbelow
                 while i < argc() - 1          set splitbelow
                         split  
                         n          let s:i = 1
                         let i = i + 1          if g:open_all_win == 1
                   while s:i < argc()
                           if bufwinnr(argv(s:i)) == -1    " buffer doesn't exists or doesn't have window
                                   exec ":split " . argv(s:i)
                           endif
                           let s:i = s:i + 1
                 endwhile                  endwhile
         endif          endif
         let opened = 1  
           " restore Vim option from variable
           if s:save_split
                   set splitbelow
           else
                   set nosplitbelow
           endif
 endfunction  endfunction
   
 if exists("g:open_all_win")  if exists("g:open_all_win")
         if g:open_all_win == 1          if g:open_all_win == 1
                 call OpenAllWin()                  call OpenAllWin()
                   " turn g:open_all_win off after opening all windows
                   " it prevents reopen windows after 2nd sourcing .vimrc
                   let g:open_all_win = 0
         endif          endif
 endif  endif
 " OpenAllWin() }}}  " OpenAllWin() }}}

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top