4

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

4

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.

  • 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. – mjsr 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, :) – mjsr Mar 7 '11 at 21:12
  • SnippetPlus can be downloaded from sourceforge.net/projects/snippetplus – Seth Petry-Johnson May 25 '11 at 15:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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