X-Git-Url: https://git.draconx.ca/gitweb/vimconf.git/blobdiff_plain/3b4da6b830a51d8b3aea3f0ae997f07e69b99e67..75d62cd71d9d33575e076592e377dc93bdd8c99f:/vimrc diff --git a/vimrc b/vimrc index 025928c..70b49a9 100644 --- a/vimrc +++ b/vimrc @@ -2,6 +2,11 @@ set ai backup autocmd Syntax * syntax sync fromstart +" langmaps for non-stantard 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 5 @@ -9,6 +14,7 @@ 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 *.sig set filetype=sml au BufNewFile,BufRead *.cabal set filetype=cabal