| verzia 1.1, 2001/09/20 15:15:06 |
verzia 1.2, 2001/09/24 13:18:37 |
|
|
| " New commands {{{1 |
" New commands {{{1 |
| :command! -nargs=1 Printf call libcallnr("/lib/libc.so.6", "printf", <args>) |
:command! -nargs=1 Printf call libcallnr("/lib/libc.so.6", "printf", <args>) |
| :command! -nargs=0 FoldLongLines call FoldLongLines() |
:command! -nargs=0 FoldLongLines call FoldLongLines() |
| |
:command! -nargs=0 Indent call Indent() |
| "################################################################# }}}1 |
"################################################################# }}}1 |
| " Autocomands {{{1 |
" Autocomands {{{1 |
| " Startup autocommands {{{2 |
" Startup autocommands {{{2 |
|
|
| : elseif choice == 4 |
: elseif choice == 4 |
| : exec cmd . "gcc " . g:cflags . |
: exec cmd . "gcc " . g:cflags . |
| \ " -o " . filename . " " . filename_ext . |
\ " -o " . filename . " " . filename_ext . |
| \ substitute(getline(2), "VIM_GCC", "", "g") |
\ substitute(getline(2), "VIMGCC", "", "g") |
| : endif |
: endif |
| :endfun |
:endfun |
| """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}2 |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}2 |
| |
" Function Indent() {{{2 |
| |
" |
| |
fun! Indent() |
| |
: exec "normal mfggvG$='f" |
| |
endfun |
| |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" }}}2 |
| "################################################################# }}}1 |
"################################################################# }}}1 |
| " Gvim settings {{{1 |
" Gvim settings {{{1 |
| :if &t_Co > 2 || has("gui_running") |
:if &t_Co > 2 || has("gui_running") |