"Mikolaj Machowski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] : Dnia wtorek, 16 maja 2006 14:17, Ivan Vecerina napisa³: : > - get vim to automatically close/complete the innermost previously : > opened tag. : : What do you mean automatically?. You can do: : : inoremap </ </<c-x><c-o>
That's a great step forward, and I was able to make this work in a .html file. But it would not work in a PHP file Where can I find documentation for this feature (seems to be part of the vim70 new enhancements), with which help keyword/tag ? [ I would never have fould this by chance, c-x does "cut" by default on my install... ] : > Other things I don't know how to find is: how do I make sure that VIM : > finds the CSS associated with the document I am editing (to help with : > auto-completion)? : : It should work automatically. : : > What are other tricks I should know for HTML-style document editing, and : > where can I learn them? : : Useful new feature for HTML-edition is of course omni-completion but : also new text-objects: : ::help at ::help it So I can do things like vat vit ... cool. >From there, it should also be easy to add a command that will delete the start and end tag of the current visual selection. How do I do an s/.../.../ on the current visual block? [ I guess I can find out, but maybe you could answer this by the way ] Thanks a lot / Dziekuje, Ivan