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 |
|
|
" 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() {{{ |
Platon Group <platon@platon.org> http://platon.org/
|
|