1 if !exists("g:_kratochvil_vimrc")
2 let g:_kratochvil_vimrc=1
4 "autocmd * * echo "test"
6 "startup read existing file: BufReadPre BufReadPost BufEnter VimEnter
7 "command read non-existing file: BufCreate BufNewFile BufEnter
8 "immediate switch to existing file: BufReadPre BufReadPost BufEnter
9 "immediate switch to non-existing file: BufNewFile BufEnter
11 autocmd BufCreate,VimEnter * let g:BufEnter_ts= 8
12 autocmd BufCreate,VimEnter */home/{short,kratochvil,root}/{src,WWW}/* let g:BufEnter_ts= 2
13 autocmd BufCreate,VimEnter */home/{short,kratochvil,root}/src/*gnokii*/* let g:BufEnter_ts= 8
14 autocmd BufCreate,VimEnter *.{i{,.as},s} let g:BufEnter_ts=20
15 autocmd BufEnter * call BufEnter()
16 autocmd VimEnter * call BufEnter()
17 set runtimepath=.,$VIMRUNTIME
19 if exists("g:BufEnter_ts")
29 runtime! ./../../../../../../../../../../../.vimrc ./../../../../../../../../../../.vimrc ./../../../../../../../../../.vimrc ./../../../../../../../../.vimrc ./../../../../../../../.vimrc ./../../../../../../.vimrc ./../../../../../.vimrc ./../../../../.vimrc ./../../../.vimrc ./../../.vimrc ./../.vimrc ./.vimrc
34 set termencoding=iso-8859-2
35 " fileencoding is detected from fileencodings, first one for empty files
36 set fileencodings=utf-8,iso-8859-2
49 set viminfo='100,\"1000,:100,/40
50 set tags=./tags,./TAGS,./../tags,./../TAGS,./../../tags,./../../TAGS,./../../../tags,./../../../TAGS,./../../../../tags,./../../../../TAGS,./../../../../../tags,./../../../../../TAGS,./../../../../../../tags,./../../../../../../TAGS,./../../../../../../../tags,./../../../../../../../TAGS,./../../../../../../../../tags,./../../../../../../../../TAGS,./../../../../../../../../../tags,./../../../../../../../../../TAGS,./../../../../../../../../../../tags,./../../../../../../../../../../TAGS,./../../../../../../../../../../../tags,./../../../../../../../../../../../TAGS,/usr/src/redhat/BUILD/tags,/usr/src/redhat/BUILD/TAGS,/usr/include/tags,/usr/include/TAGS
52 noremap
\ep :set invpaste paste?<cr>
57 noremap
\ 4 G:r !date '+\%H:\%M:\%S-'
\rkA
58 noremap
\ed :set hlsearch<cr>/^[+-]\([^+-].*\\|\)$<cr>
59 noremap
\eD :set hlsearch<cr>/^[+-][+-]\([^+-].*\\|\)$<cr>
61 endif "!exists("g:_kratochvil_vimrc")