Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Saturday, October 24, 2026

Diff for vimconfig/vimrc between version 1.68 and 1.69

version 1.68, 2002/08/11 19:16:11 version 1.69, 2002/08/12 00:44:06
Line 321  noremap ZX mzggvGzX'z
Line 321  noremap ZX mzggvGzX'z
 " }}}  " }}}
   
 " New commands {{{  " New commands {{{
 command! -nargs=1 Printf call libcallnr("/lib/libc.so.6", "printf", <args>)  
 command! -nargs=0 FoldLongLines call FoldLongLines()  command! -nargs=0 FoldLongLines call FoldLongLines()
 command! -nargs=0 Indent call Indent()  command! -nargs=0 Indent call Indent()
 command! -nargs=0 CallProg call CallProg()  command! -nargs=0 CallProg call CallProg()
Line 444  endif
Line 443  endif
 "  "
 if version >= 600  if version >= 600
         fun! FoldLongLines()          fun! FoldLongLines()
 "               Get screen size:  
                 let lines = system("`which tcsh` -f -c telltc | " .  
                                 \ "grep lines | awk '{print \$6-1}'")  
                 let info = "<Esc>[" . lines . ";0HProcessing line "  
 "               Set mark for return back  "               Set mark for return back
                 exec "normal mF"                  exec "normal mF"
 "               Delete line  "               Go to the first line
                 Printf(&t_dl)  
                 exec "1go"                  exec "1go"
                 let lnum = line(".")                  let lnum = line(".")
                 let lend = line("$")                  let lend = line("$")
                 while lnum <= lend                  while lnum <= lend
                         Printf(info . lnum)  
 "                       Skip closed folds  "                       Skip closed folds
                         if foldclosed(lnum) != -1                          if foldclosed(lnum) != -1
                                 let lnum = foldclosedend(lnum) + 1                                  let lnum = foldclosedend(lnum) + 1
Line 474  if version >= 600
Line 467  if version >= 600
                                 break                                  break
                         endif                          endif
                 endwhile                  endwhile
                 Printf("  --  OK\n")  
 "               Skip back to the mark  "               Skip back to the mark
                 exec "normal 'F"                  exec "normal 'F"
                 redraw!                  redraw!

Legend:
Removed from v.1.68  
changed lines
  Added in v.1.69

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