I use vim with the Dvorak keyboard layout. It was a big hassle at first but I’ve come up with (and lifted) some combinations of .vimrc directives that make things pretty easy with not too much disruptive key remapping. Some of this stuff I just copied and pasted from a co-worker’s .vimrc and I’ll admit that I’m not sure what 100% of this does. If you have any questions, ask and I’ll add some better comments to the file.
colors default syntax on au BufNewFile,BufRead *.module set filetype=php au BufNewFile,BufRead *.inc set filetype=php set background=dark set wh=60 set expandtab set sw=4 set smarttab set smartindent set autoindent set number set nowrap set ic set ts=4 set sts=4 set sta set ai set et set cin "Dvorak stuff noremap t j noremap n k noremap s l noremap j n noremap gn gk noremap gt gj noremap - $ noremap _ ^ no S L