dotfiles

configuration files for different softwares
git clone git://z3bra.org/dotfiles
Log | Files | Refs

commit d18afd5b195bf26b3d25d744568a7b37a13a241c
parent 3e0e3974c599b58664316cedd25ab3a4bee9d1dc
Author: Willy Goiffon <w.goiffon@gmail.com>
Date:   Thu Sep  5 13:11:14 2013

Use filetypes in autocommands

Diffstat:
 vimrc | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/vimrc b/vimrc @@ -270,13 +270,11 @@ command! Sprunge w !curl -F 'sprunge=<-' http://sprunge.us " > Filetypes commands ======================================================== " {{{ -" Default FileType - " Special commands -au BufEnter *.php set ft=php.html -au BufRead,BufNewFile *.c,*.h set filetype=c -au BufRead,BufNewFile *.html,*.htm ab </ </<C-x><C-o> -au BufRead /tmp/mutt-* call ToggleTW(80) +au FileType make set noet +au Filetype php set ft=php.html +au Filetype html ab </ </<C-x><C-o> +au Filetype mail set tw=80 cc=81 fdm=marker au BufWritePost .Xresources !xrdb % au BufRead,BufNewFile *.tab setfiletype chords au BufEnter *baseq3/*.cfg,wolfcam-ql/*.cfg let quake_is_quake3=1