Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Sobota, 24. október 2026

Rozdiely pre vimconfig/vimrc medzi verziami 1.51 a 1.52

verzia 1.51, 2002/04/19 16:23:12 verzia 1.52, 2002/04/21 17:02:36
Riadok 131  set noignorecase
Riadok 131  set noignorecase
 set showfulltag  set showfulltag
   
 set ch=2 bs=2  set ch=2 bs=2
 set incsearch report=0 title  set incsearch report=0
 set showcmd showmatch showmode  set showcmd showmatch showmode
   
   " Set title of the window to Platon's copyright
           set titleold=
           set titlestring=ViMconfig\ (c)\ 2000-2002\ Platon\ SDG
           set title
   
 " Indent of 1 tab with size of 4 spaces  " Indent of 1 tab with size of 4 spaces
 set tabstop=4  set tabstop=4
 set shiftwidth=4  set shiftwidth=4
Riadok 284  command! -nargs=* R call ReadFileAboveCu
Riadok 289  command! -nargs=* R call ReadFileAboveCu
   
 " Autocomands {{{  " Autocomands {{{
 if has("autocmd")  if has("autocmd")
   
 " Autocomands for GUIEnter {{{          " Autocomands for PlatonCopyright {{{
 augroup GUIEnter          augroup PlatonCopyright
           autocmd!
                   autocmd WinEnter * set titlestring=
                   autocmd WinEnter * silent! call RemoveAutogroup("PlatonCopyright")
           augroup END
           " }}}
   
           " Autocomands for GUIEnter {{{
           augroup GUIEnter
         autocmd!          autocmd!
 "       autocmd GUIEnter * set t_vb=          "       autocmd GUIEnter * set t_vb=
         if has("gui_win32")          if has("gui_win32")
                 autocmd GUIEnter * simalt ~x                  autocmd GUIEnter * simalt ~x
         endif          endif
 augroup END          augroup END
 " }}}          " }}}
   
 " Autocomands for ~/.vimrc {{{          " Autocomands for ~/.vimrc {{{
 augroup VimConfig          augroup VimConfig
         autocmd!          autocmd!
 " Reread configuration of ViM if file ~/.vimrc is saved          " Reread configuration of ViM if file ~/.vimrc is saved
         autocmd BufWritePost ~/.vimrc   so ~/.vimrc | exec "normal zv"          autocmd BufWritePost ~/.vimrc   so ~/.vimrc | exec "normal zv"
         autocmd BufWritePost vimrc      so ~/.vimrc | exec "normal zv"          autocmd BufWritePost vimrc      so ~/.vimrc | exec "normal zv"
 augroup END          augroup END
 " }}}          " }}}
   
 " Autocommands for *.c, *.h, *.cc *.cpp {{{          " Autocommands for *.c, *.h, *.cc *.cpp {{{
 augroup C          augroup C
         autocmd!          autocmd!
 "formatovanie C-zdrojakov          "formatovanie C-zdrojakov
         autocmd BufEnter     *.c,*.h,*.cc,*.cpp map  <buffer> <C-F> mfggvG$='f          autocmd BufEnter     *.c,*.h,*.cc,*.cpp map  <buffer> <C-F> mfggvG$='f
         autocmd BufEnter     *.c,*.h,*.cc,*.cpp imap <buffer> <C-F> <Esc>mfggvG$='fi          autocmd BufEnter     *.c,*.h,*.cc,*.cpp imap <buffer> <C-F> <Esc>mfggvG$='fi
         autocmd BufEnter     *.c,*.h,*.cc,*.cpp map <buffer> yii yyp3wdwi          autocmd BufEnter     *.c,*.h,*.cc,*.cpp map <buffer> yii yyp3wdwi
Riadok 315  augroup C
Riadok 328  augroup C
         autocmd BufRead,BufNewFile  *.c,*.h,*.cc,*.cpp  setlocal cindent          autocmd BufRead,BufNewFile  *.c,*.h,*.cc,*.cpp  setlocal cindent
         autocmd BufRead,BufNewFile  *.c,*.h,*.cc,*.cpp  setlocal cinoptions=>4,e0,n0,f0,{0,}0,^0,:4,=4,p4,t4,c3,+4,(2s,u1s,)20,*30,g4,h4          autocmd BufRead,BufNewFile  *.c,*.h,*.cc,*.cpp  setlocal cinoptions=>4,e0,n0,f0,{0,}0,^0,:4,=4,p4,t4,c3,+4,(2s,u1s,)20,*30,g4,h4
         autocmd BufRead,BufNewFile  *.c,*.h,*.cc,*.cpp  setlocal cinkeys=0{,0},:,0#,!<C-F>,o,O,e          autocmd BufRead,BufNewFile  *.c,*.h,*.cc,*.cpp  setlocal cinkeys=0{,0},:,0#,!<C-F>,o,O,e
 augroup END          augroup END
 " }}}          " }}}
   
 " Autocommands for *.html *.cgi {{{          " Autocommands for *.html *.cgi {{{
 " Automatic updates date of last modification in HTML files. File must          " Automatic updates date of last modification in HTML files. File must
 " contain line "^\([<space><Tab>]*\)Last modified: ",          " contain line "^\([<space><Tab>]*\)Last modified: ",
 " else will be date writtend on the current " line.          " else will be date writtend on the current " line.
 augroup HtmlCgiPHP          augroup HtmlCgiPHP
         autocmd!          autocmd!
 " Appending right part of tag in HTML files.          " Appending right part of tag in HTML files.
         autocmd BufEnter                 *.html imap <buffer> QQ </><Esc>2F<lywf>f/pF<i          autocmd BufEnter                 *.html imap <buffer> QQ </><Esc>2F<lywf>f/pF<i
         autocmd BufWritePre,FileWritePre *.html call AutoLastMod()          autocmd BufWritePre,FileWritePre *.html call AutoLastMod()
         autocmd BufEnter                 *.cgi  imap <buffer> QQ </><Esc>2F<lywf>f/pF<i          autocmd BufEnter                 *.cgi  imap <buffer> QQ </><Esc>2F<lywf>f/pF<i
Riadok 333  augroup HtmlCgiPHP
Riadok 346  augroup HtmlCgiPHP
         autocmd BufWritePre,FileWritePre *.php  call AutoLastMod()          autocmd BufWritePre,FileWritePre *.php  call AutoLastMod()
         autocmd BufEnter                 *.php3 imap <buffer> QQ </><Esc>2F<lywf>f/pF<i          autocmd BufEnter                 *.php3 imap <buffer> QQ </><Esc>2F<lywf>f/pF<i
         autocmd BufWritePre,FileWritePre *.php3 call AutoLastMod()          autocmd BufWritePre,FileWritePre *.php3 call AutoLastMod()
 augroup END          augroup END
 " }}}          " }}}
   
 " Autocomands for *.tcl {{{          " Autocomands for *.tcl {{{
 augroup Tcl          augroup Tcl
         autocmd!          autocmd!
         autocmd WinEnter            *.tcl       map <buffer> <C-K> :call CallProg()<CR>          autocmd WinEnter            *.tcl       map <buffer> <C-K> :call CallProg()<CR>
         autocmd BufRead,BufNewFile  *.tcl       setlocal autoindent          autocmd BufRead,BufNewFile  *.tcl       setlocal autoindent
 augroup END          augroup END
 " }}}          " }}}
   
 " Autocomands for Makefile {{{          " Autocomands for Makefile {{{
 augroup Makefile          augroup Makefile
         autocmd!          autocmd!
         autocmd BufEnter            [Mm]akefile*        map <buffer> <C-K> :call CallProg()<CR>          autocmd BufEnter            [Mm]akefile*        map <buffer> <C-K> :call CallProg()<CR>
 augroup END          augroup END
 " }}}          " }}}
   
 endif " if has("autocmd")  endif " if has("autocmd")
 " }}} Autocomands  " }}} Autocomands
Riadok 618  function! ReadFileAboveCursor(file, ...)
Riadok 631  function! ReadFileAboveCursor(file, ...)
         exec str          exec str
 endfunction  endfunction
 " ReadFileAboveCursor() }}}  " ReadFileAboveCursor() }}}
   
   " Function RemoveAutogroup() {{{
   "
   silent! function! RemoveAutogroup(group)
           silent exec "augroup! ". a:group
   endfunction
   " RemoveAutogroup() }}}
 " }}}  " }}}
   
 " Gvim settings {{{  " Gvim settings {{{

Legend:
Odstranené z verzie1.51  
zmenené riadky
  Pridané vo verzii1.52

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok