Is there a plugin, macro, or some sort of option for placing tags around selected text after I highlight and begin typing?

link|improve this question
I've seen this basic functionality in Textmate repeatedly. – Rein Sangeki Feb 9 '11 at 19:01
feedback

1 Answer

up vote 3 down vote accepted

yes use the "Snippet Plus" Plugin. Then create your snippet and use the function "Surround with". It behaves like the Surround With of Visual Studio.

link|improve this answer
Thanks for the response but I was looking for something that actually works like Textmates, where you can just highlight the text and begin typing a tag and it auto surrounds it with said tag, rather than this which seems to need me to manually tell it I want to use surrond with. – Rein Sangeki Feb 9 '11 at 19:38
@ReinSangeki that will be in direct conflict with the traditional behaviour of "Select and Overwrite", use a little the plugin that i'm mentionting. Maybe its all that you need. – voodoomsr Feb 11 '11 at 21:13
Yeah I have been playing around with the plugin you've recommended. It's not perfect but it gets the job done. Thanks. – Rein Sangeki Mar 7 '11 at 16:08
@ReinSangeki don't forget to mark as answer, :) – voodoomsr Mar 7 '11 at 21:12
SnippetPlus can be downloaded from sourceforge.net/projects/snippetplus – Seth Petry-Johnson May 25 '11 at 15:03
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.