]> git.draconx.ca Git - vimconf.git/blobdiff - vimrc
Fix cursor position when using colemak.
[vimconf.git] / vimrc
diff --git a/vimrc b/vimrc
index 57b40215c95f1516010bc8197589d776fc1bc5ee..a76c2228afeb3f40daa0e454c0d4b90b302d2246 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -6,11 +6,6 @@ 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
 :map <MouseDown> 5<C-Y>
@@ -22,14 +17,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