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.32 and 1.33

version 1.32, 2002/01/25 22:00:11 version 1.33, 2002/02/01 15:55:04
Line 40  set nobackup
Line 40  set nobackup
 ":set ruler  ":set ruler
 " Display a status-bar.  " Display a status-bar.
 set laststatus=2  set laststatus=2
 set statusline=%<%f%h\ %3*%m%1*%r%0*\ %2*%y%4*%w%0*%=[%b\ 0x%B]\ \ %8l,%10([%c%V/%{strlen(getline(line('.')))}]%)\ %P  set statusline=%1*%{GetID()}%0*%<%f\ %3*%m%1*%r%0*\ %2*%y%4*%w%0*%=[%b\ 0x%B]\ \ %8l,%10([%c%V/%{strlen(getline(line('.')))}]%)\ %P
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}  """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}
 " Settings for Explorer script {{{  " Settings for Explorer script {{{
 let g:explDetailedHelp=1  let g:explDetailedHelp=1
Line 487  fun! SafeLineDelete()
Line 487  fun! SafeLineDelete()
         exec "normal \"_dd"          exec "normal \"_dd"
 endfun  endfun
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}  """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}
   " Function GetID() {{{
   " - used in statusline.
   " If you are root, function return "# " string --> it is showed at begin of
   "                                                  statusline
   " If you aren't root, function return empty string --> nothing is visible
   if executable("id")
           " Check for your name ID
           let g:get_id = substitute(system("id -n -u"), "[\r\n]", "", "g")
           " If you are root, set to '#', else set to ''
           if g:get_id == "root"
                   let g:get_id = "# "
           else
                   let g:get_id = ""
           endif
   endif
   fun! GetID()
           if exists("g:get_id")
                   return g:get_id
           else
                   return ""
           endif
   endfun
   """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}
 " Function ReadFileAboveCursor() {{{  " Function ReadFileAboveCursor() {{{
 "  "
 fun! ReadFileAboveCursor(file, ...)  fun! ReadFileAboveCursor(file, ...)

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

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