]> git.draconx.ca Git - vimconf.git/blobdiff - vimrc
Import xf86conf syntax rules from vim hg.
[vimconf.git] / vimrc
diff --git a/vimrc b/vimrc
index 025928c2b07e8310af9fd2e0481e14d9c42a6730..57b40215c95f1516010bc8197589d776fc1bc5ee 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -1,6 +1,15 @@
 " Global stuff
 set ai backup
 autocmd Syntax * syntax sync fromstart
+syntax on
+
+" 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
 
 " Mouse Stuff
 set mouse=a
@@ -9,7 +18,9 @@ set mouse=a
 
 set nowrap listchars=eol:$,precedes:<,extends:@
 
+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 *.cabal  set filetype=cabal
 au BufNewFile,BufRead *.h      set filetype=c