]> git.draconx.ca Git - vimconf.git/blobdiff - vimrc
Don't force rxvt-unicode to 256 colours.
[vimconf.git] / vimrc
diff --git a/vimrc b/vimrc
index e62fd403c021049aeff735faba79b69eaa4f967e..472aa4e87af97b60150760c710eab1f79b2e6782 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,14 +22,12 @@ 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
 
 au BufNewFile,BufRead *.frag,*.vert,*.fp,*.vp,*.glsl set filetype=glsl
-
-if $TERM == "rxvt-unicode"
-       set t_Co=256
-endif