]> git.draconx.ca Git - vimconf.git/blobdiff - vimrc
Don't assume .txt files are asciidoc.
[vimconf.git] / vimrc
diff --git a/vimrc b/vimrc
index e62fd403c021049aeff735faba79b69eaa4f967e..3f28d6401af568589b6117cf58343d200f072a48 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -1,8 +1,12 @@
 " Global stuff
 set ai backup
 autocmd Syntax * syntax sync fromstart
+syntax on
 
-" langmaps for non-stantard layouts
+" Try to prevent vim from seeing terminal escape sequences with user input
+set timeoutlen=100
+
+" langmaps for non-standard layouts
 if $KEYMAP == "colemak"
        set langmap=sd,fe,tf,dg,ui,nj,ek,il,kn,yo,\\;p,pr,rs,gt,lu,jy,SD,FE,TF,DG,UI,NJ,EK,IL,KN,YO,:P,PR,RS,GT,LU,JY,o\\;,O:
 endif
@@ -18,8 +22,10 @@ au BufNewFile,BufRead {.,}z{profile,logout,login,shrc,shenv} set filetype=zsh
 au BufNewFile,BufRead *.scheme set filetype=scheme
 au BufNewFile,BufRead *.cls    set filetype=tex
 au BufNewFile,BufRead *.sig    set filetype=sml
+au BufNewFile,BufRead *.txt    set filetype=txt
 au BufNewFile,BufRead *.cabal  set filetype=cabal
 au BufNewFile,BufRead *.h      set filetype=c
+au BufNewFile,BufRead *.gob    set filetype=gob
 au BufNewFile,BufRead Makefile.inc set filetype=automake
 
 au BufReadPre .skk-uim-jisyo set fileencodings=euc-jp