| verzia 1.19, 2001/11/21 23:29:59 |
verzia 1.20, 2001/11/26 20:16:06 |
|
|
| " 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 21 10:11:46 PM |
" Last Change: 2001 Nov 26 21:14:06 |
| " Version: 01.09.08 |
" Version: 01.09.08 |
| " Language Of Comments: English |
" Language Of Comments: English |
| |
|
|
|
| " Vim beeping go to the hell... |
" Vim beeping go to the hell... |
| :set vb t_vb= |
:set vb t_vb= |
| |
|
| :if version >= 600 |
" Set this, if you will open all windows for files specified |
| ": set foldmethod=expr |
" on the commandline at vim startup. |
| ": set foldexpr=strlen(substitute(getline(v:lnum),'^\{300\,}$','x',\"g\")) |
:let g:open_all_win=1 |
| : set foldexpr=FoldLevel(v:lnum) |
|
| :endif |
|
| |
|
| "################################################################# }}}1 |
"################################################################# }}}1 |
| " Keybord mappings {{{1 |
" Keybord mappings {{{1 |
|
|
| :command! -nargs=0 FoldLongLines call FoldLongLines() |
:command! -nargs=0 FoldLongLines call FoldLongLines() |
| :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 OpenAllWin call OpenAllWin() |
| :command! -nargs=0 UnquoteMailBody call UnquoteMailBody() |
:command! -nargs=0 UnquoteMailBody call UnquoteMailBody() |
| :command! -nargs=* ReadFileAboveCursor call ReadFileAboveCursor(<f-args>) |
:command! -nargs=* ReadFileAboveCursor call ReadFileAboveCursor(<f-args>) |
| :command! -nargs=* R call ReadFileAboveCursor(<f-args>) |
:command! -nargs=* R call ReadFileAboveCursor(<f-args>) |
|
|
| :fun! OpenAllWin() |
:fun! OpenAllWin() |
| :let i = 0 |
:let i = 0 |
| :if !exists("opened") |
:if !exists("opened") |
| :echo |
: while i < argc() - 1 |
| :while i < argc() - 1 |
: split |
| : echo |
: n |
| : split |
: let i = i + 1 |
| : n |
: endwhile |
| ": source /usr/local/share/vim/vim60al/scripts.vim |
|
| : let i = i + 1 |
|
| :endwhile |
|
| :endif |
:endif |
| :let opened = 1 |
:let opened = 1 |
| :endfun |
:endfun |
| |
|
| |
:if exists("g:open_all_win") |
| |
: call OpenAllWin() |
| |
:endif |
| """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}2 |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}2 |
| " Function CallProg() {{{2 |
" Function CallProg() {{{2 |
| :fun! CallProg() |
:fun! CallProg() |