Rozdiely pre vimconfig/vimrc medzi verziami 1.33 a 1.34
| verzia 1.33, 2002/02/01 15:55:04 |
verzia 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") |
| Riadok 503 if executable("id") |
|
| Riadok 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.sk> http://platon.sk/
|
|