-
Notifications
You must be signed in to change notification settings - Fork 0
/
filetype.vim
70 lines (50 loc) · 2.28 KB
/
filetype.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
" my filetype file
if exists("did_load_filetypes")
finish
endif
augroup filetypedetect
au! BufRead,BufNewFile psql.edit.* setfiletype sql
" to make pasting sql query into editor of psql easier, turn on 'paste' by default
au BufRead,BufNewFile psql.edit.* set paste
au! BufRead,BufNewFile *.lzx setfiletype lzx
"au! BufRead,BufNewFile nordictrac.dev.exoweb.net_*comment*.txt setfiletype txt
au! BufRead,BufNewFile nordictrac.dev.exoweb.net_*text*.txt setfiletype exo-codereview
au! BufRead,BufNewFile *.txt setfiletype txt
au! BufRead,BufNewFile *.mkd setfiletype mkd
au! BufRead,BufNewFile *.blogger setfiletype blogger
au! BufRead,BufNewFile *.viki setfiletype viki
au BufRead,BufNewFile ipython_edit*.py set paste
au BufRead,BufNewFile svn-commit.tmp set paste
"au BufRead,BufNewFile mutt-vincent-* set paste
au! BufRead,BufNewFile *.rest setfiletype rest
au! BufRead,BufNewFile *.vst setfiletype rest
au BufNewFile,BufRead *.moin setf moin
au BufNewFile,BufRead *.wiki setf moin
au BufNewFile,BufRead *.as setf actionscript
au BufNewFile,BufRead *.mxml setf mxml
au BufNewFile,BufRead *.mxml compiler flex
au BufNewFile,BufRead *.arff compiler arff
au BufNewFile,BufRead *.blog setfiletype blog
au BufNewFile,BufRead *.blog source $VIMCFG/manualload/blog.vim
au BufNewFile,BufRead .tmux.conf* setfiletype tmux
autocmd BufRead,BufNewFile *.wiki setfiletype Wikipedia
autocmd BufRead,BufNewFile wiki.seravia.3322.org* setfiletype Wikipedia
autocmd BufRead,BufNewFile Twitter_* setfiletype twitter
autocmd BufRead,BufNewFile *.otl set ts=2
autocmd BufRead,BufNewFile *.rfc* setfiletype rfc
autocmd BufRead,BufNewFile *.penta setfiletype pentadactyl
autocmd BufNewFile,BufRead *.markdown setfiletype octopress.markdown
autocmd BufNewFile,BufRead,BufEnter *.cpp,*.hpp set omnifunc=omni#cpp#complete#Main
au BufNewFile,BufRead *.sedona setf java
au BufNewFile,BufRead *.gx setf xml
au BufNewFile,BufRead *.gr setf xml
au BufNewFile,BufRead *.grl setf xml
au BufNewFile,BufRead *.cps setf xml
au BufRead *.gr :normal V=
au BufRead *.gx :normal V=
au BufRead *.grl :normal V=
au BufRead *.cps :normal V=
augroup tracwiki
au! BufRead,BufNewFile *.tracwiki setfiletype tracwiki
augroup END
augroup END