~ princ3 /.vimrc

my useradditions to the standarddotfiles
" {{{ Enable filetype-specific indenting and plugins 
  filetype plugin indent on 
" }}}" }}}
  " Load matchit (% to bounce from do to end, etc.)
  runtime! macros/matchit.vim

  augroup myfiletypes
    " Clear old autocmds in group
    autocmd!
    " autoindent with two spaces, always expand tabs
    autocmd FileType ruby,eruby,yaml set ai sw=2 sts=2 et
  augroup END


" {{{ Automatic save of folds, 
" so that you dont have to type everytime :mkview to
" save and :loadview to restore folds
au BufWinLeave * silent! mkview
au BufWinEnter * silent! loadview
" }}}
" {{{ Enable console-menus F4 shows the menu
:source $VIMRUNTIME/menu.vim
        :set wildmenu
        :set cpo-=<
        :set wcm=<C-Z>
        :map <F4> :emenu <C-Z>
" }}}
" {{{ Modeline settings
" We don't allow modelines by default. See bug #14088 and bug #73715.
" If you're not concerned about these, you can enable them on a per-user
" basis by adding "set modeline" to your ~/.vimrc file.
set modeline
" }}}
" {{{ Foldmethod defaulting to markers
set foldmethod=marker
" }}}
  
Your Ad Here