Annotation of elwix/config/root.skel/vimrc, revision 1.1.1.1.6.1
1.1 misho 1: syntax on
1.1.1.1.6.1! misho 2: filetype plugin indent on
! 3: imap <F7> /*{{{*/
! 4: nmap <F7> O/*{{{*/<ESC><Down>
! 5: imap <F8> /*}}}*/
! 6: nmap <F8> o/*}}}*/<ESC><Up>
! 7: map <F4> :set foldopen=all,insert foldclose=all<CR>
! 8: map <S-F4> :set foldopen=block,hor,mark,percent,quickfix,search,tag,undo foldclose=<CR>
! 9: map <F3> :set foldmethod=marker<CR>
! 10: map <S-F3> :set foldmethod=expr<CR>
! 11: map <F6> :ru c-fold.vim<CR>
! 12: map <F5> :silent loadview<CR>
! 13: map <F2> :!rm -f ~/.vim/view/*<CR>
1.1 misho 14: set incsearch
15: set showmatch
1.1.1.1.6.1! misho 16: set showcmd
1.1 misho 17: set ruler
18: set cindent
1.1.1.1.6.1! misho 19: set hlsearch
! 20: set foldenable
! 21: set foldmethod=marker
! 22: "set foldopen=all,insert foldclose=all
! 23: "
! 24: "function FoldBrace()
! 25: " if getline(v:lnum+1)[0] == '{'
! 26: " return '>1'
! 27: " endif
! 28: " if getline(v:lnum)[0] == '}'
! 29: " return '<1'
! 30: " endif
! 31: " return foldlevel(v:lnum-1)
! 32: "endfunction
! 33: "set foldexpr=FoldBrace()
! 34: "set foldmethod=expr
! 35: "set wildmenu wildmode=list:full
! 36: set tags=tags,/usr/src/tags
! 37: "cscope add /usr/src /usr/src
1.1 misho 38: colorscheme ron
1.1.1.1.6.1! misho 39: "autocmd BufWinLeave *
! 40: "\ if filereadable(expand('%')) |
! 41: "\ mkview |
! 42: "\ endif
! 43: "autocmd BufWinEnter *
! 44: "\ if filereadable(expand('%')) |
! 45: "\ silent loadview |
! 46: "\ endif
1.1 misho 47: autocmd BufReadPost *
48: \ if ! exists("g:leave_my_cursor_position_alone") |
49: \ if line("'\"") > 0 && line ("'\"") <= line("$") |
50: \ exe "normal g'\"" |
51: \ endif |
52: \ endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>