grimsniffer: (pic#377996)
[personal profile] grimsniffer
Well, just a brief post in the "I hope someone finds this helpful" category.
I'm using Vi (or more accurately Vim) to edit code on DW. And in the past few weeks of doing so I've added some dw-specific tweaks to my .exrc file beyond the usual spam that's there. So here they are, in case anyone else wants to use them:


# To adhere to the programming guidelines, tab size and spaces as tabs.
set tabstop=4
set shiftwidth=4

# Just for convenience's sake. Not really DW specific but some DW Vi stuff depends on it.
syntax enable
set cindent
color delek

# Getting Vim to recognize bml files as perl files for purposes of syntax highlighting.
filetype on
au BufNewFile,BufRead *.bml set filetype=perl


This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

grimsniffer: (Default)
grimsniffer

February 2010

S M T W T F S
 123456
78910111213
14151617181920
2122 2324 252627
28      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags