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

Diff for vimconfig/vimrc between version 1.13 and 1.14

version 1.13, 2001/11/07 19:41:43 version 1.14, 2001/11/07 21:32:27
Line 3 
Line 3 
 " Maintainer:   Lubomir Host <host8@kepler.fmph.uniba.sk>  " Maintainer:   Lubomir Host <host8@kepler.fmph.uniba.sk>
 " Bugs Reports: Lubomir Host <host8@kepler.fmph.uniba.sk>  " Bugs Reports: Lubomir Host <host8@kepler.fmph.uniba.sk>
 " License:              GNU GPL  " License:              GNU GPL
 " Last Change:  2001 Nov 01 21:36:58  " Last Change:  2001 Nov 07 22:30:12
 " Version:              01.09.08  " Version:              01.09.08
 " Language Of Comments: English  " Language Of Comments: English
   
Line 137 
Line 137 
 :map  :split ~/.vimrc  :map  :split ~/.vimrc
 :imap  :split ~/.vimrc  :imap  :split ~/.vimrc
   
   " Safe delete line (don't add line to registers)
   ":imap  "_ddi
   :imap  :call SafeLineDelete() i
   
 " Mappings for folding {{{2  " Mappings for folding {{{2
 " Open one foldlevel of folds in whole file  " Open one foldlevel of folds in whole file
 " Note: 'Z' works like 'z' but for all lines in file  " Note: 'Z' works like 'z' but for all lines in file
Line 158 
Line 162 
 :command! -nargs=0 Indent call Indent()  :command! -nargs=0 Indent call Indent()
 :command! -nargs=0 CallProg call CallProg()  :command! -nargs=0 CallProg call CallProg()
 :command! -nargs=0 UnquoteMailbody call UnquoteMailbody()  :command! -nargs=0 UnquoteMailbody call UnquoteMailbody()
   :command! -nargs=* ReadFileAboveCursor call ReadFileAboveCursor(<f-args>)
   :command! -nargs=* R call ReadFileAboveCursor(<f-args>)
   "################################################################# }}}1
   " Filetypes settings {{{1
   :if &filetype == "mail"
   :       setlocal textwidth=72
   :       setlocal noautoindent
   :       map  gqap
   :       imap  gqapi
   :endif
 "################################################################# }}}1  "################################################################# }}}1
 " Autocomands {{{1  " Autocomands {{{1
 " Startup autocommands {{{2  " Startup autocommands {{{2
Line 184 
Line 198 
 :  autocmd!  :  autocmd!
 " Update line 'Last Change:'  " Update line 'Last Change:'
 :       autocmd BufWritePre,FileWritePre ~/.vimrc       call LastMod("\" Last Change:   ")  :       autocmd BufWritePre,FileWritePre ~/.vimrc       call LastMod("\" Last Change:   ")
   :       autocmd BufWritePre,FileWritePre vimrc  call LastMod("\" Last Change:   ")
 " Reread configuration of ViM if file ~/.vimrc is saved  " Reread configuration of ViM if file ~/.vimrc is saved
 :       autocmd BufWritePost ~/.vimrc   so ~/.vimrc  :       autocmd BufWritePost ~/.vimrc   so ~/.vimrc
   :       autocmd BufWritePost vimrc      so ~/.vimrc
 :augroup END  :augroup END
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}2  """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}2
 " Autocommands for *.c, *.h, *.cc *.cpp {{{2  " Autocommands for *.c, *.h, *.cc *.cpp {{{2
Line 543  fun! UnquoteMailbody()
Line 559  fun! UnquoteMailbody()
 :       exec ":%s/^>$//g"  :       exec ":%s/^>$//g"
 endfun  endfun
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}2  """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}2
   " Function SafeLineDelete() {{{2
   "
   fun! SafeLineDelete()
   :       exec "normal \"_dd"
   endfun
   """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}2
   " Function ReadFileAboveCursor() {{{2
   "
   fun! ReadFileAboveCursor(file, ...)
   :       let str = ":" . (v:lnum - 1) . "read " . a:file
   :       let idx = 1
   :       while idx <= a:0
   :               exec "let str = str . \" \" . a:" . idx
   :               let idx = idx + 1
   :       endwhile
   :       exec str
   endfun
   """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}2
 "################################################################# }}}1  "################################################################# }}}1
 " Gvim settings {{{1  " Gvim settings {{{1
 :if &t_Co > 2 || has("gui_running")  :if &t_Co > 2 || has("gui_running")

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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