The Artima Developer Community
Sponsored Link

Python Buzz Forum
Using Vim with Dreamweaver Templates

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Aaron Brady

Posts: 576
Nickname: insommeuk
Registered: Aug, 2003

Aaron Brady is lead developer for Crestsource
Using Vim with Dreamweaver Templates Posted: Aug 7, 2005 6:02 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Aaron Brady.
Original Post: Using Vim with Dreamweaver Templates
Feed Title: insom.me.uk
Feed URL: http://feeds2.feedburner.com/insommeuk
Feed Description: Posts related to using Python. Some tricks and tips, observations, hacks, and the Brand New Things.
Latest Python Buzz Posts
Latest Python Buzz Posts by Aaron Brady
Latest Posts From insom.me.uk

Advertisement

Wow, I went to create a new folder for a new month, and the last one was 05, with just one entry in it.

Anyway, a quick one: Here's a Vim syntax hilighting file for use editing files that use Dreamweaver templates. It just puts template areas in grey, just like Dreamweaver does, and it uses the PHP + HTML formatting mode for the editable regions.

You can ":source" the file after opening your target file, or you can add your own autoloads such as:

:au BufNewFile,BufRead *.php so <sfile>:h/dwt.vim

Read: Using Vim with Dreamweaver Templates

Topic: Interfaces or Abstract Base Classes? Previous Topic   Next Topic Topic: Do I hate Unicode, or Do I Hate ASCII?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use