1. Audrius Kažukauskas
  2. dotvim

Commits

Audrius Kažukauskas  committed 4182f7f

Misc adjustments

  • Participants
  • Parent commits 9c367db
  • Branches default

Comments (0)

Files changed (1)

File vimrc

View file
  • Ignore whitespace
   colorscheme inkpot
 endif
 
-set autoindent
 filetype plugin indent on
 syntax on
 
 set switchbuf=useopen
 
 " Editing.
+set autoindent
 set virtualedit=all
-set pastetoggle=<F11>
 set backspace=indent,eol,start
 set nowrap
 if v:version > 703 || (v:version == 703 && has('patch541'))
   au BufWritePost * if &ft == '' | filetype detect | endif
 augroup END
 
-augroup misc_ft
+augroup ft_rst
   au!
   au FileType rst setlocal softtabstop=2 shiftwidth=2 textwidth=79
+augroup end
+
+augroup ft_html
+  au!
   au FileType html,xml,xslt,svg setlocal softtabstop=2 shiftwidth=2
-  au FileType mail setlocal softtabstop=2 shiftwidth=2
-  au FileType make setlocal softtabstop=8 shiftwidth=8 noexpandtab
+augroup end
+
+augroup ft_mail
+  au!
+  au FileType mail setlocal softtabstop=2 shiftwidth=2 spell
 augroup end
 
 augroup ft_vim