I code on OSX and use a $20 program called skEdit. http://www.skti.org html, css, php code completion. very light, simple and fast. free demo too.