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

Diff for vimconfig/vimrc between version 1.33 and 1.34

version 1.33, 2002/02/01 15:55:04 version 1.34, 2002/02/02 05:10:56
Line 492  endfun
Line 492  endfun
 " If you are root, function return "# " string --> it is showed at begin of  " If you are root, function return "# " string --> it is showed at begin of
 "                                                  statusline  "                                                  statusline
 " If you aren't root, function return empty string --> nothing is visible  " If you aren't root, function return empty string --> nothing is visible
   let g:get_id=""
 if executable("id")  if executable("id")
         " Check for your name ID          " Check for your name ID
         let g:get_id = substitute(system("id -n -u"), "[\r\n]", "", "g")          let g:get_id = substitute(system("id -n -u"), "[\r\n]", "", "g")
Line 503  if executable("id")
Line 504  if executable("id")
         endif          endif
 endif  endif
 fun! GetID()  fun! GetID()
         if exists("g:get_id")          return g:get_id
                 return g:get_id  
         else  
                 return ""  
         endif  
 endfun  endfun
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}  """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}
 " Function ReadFileAboveCursor() {{{  " Function ReadFileAboveCursor() {{{

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

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