Question

What is the Textmate equivalent to http://www.vim.org/scripts/script.php?script_id=1697

Was it helpful?

Solution

The basic functions of Surround are covered by default: typing ', ", (, [ or { with some text selected will "surround" it with the character you typed.

The HTML bundle also allows you to "surround" your text with a — further editable — <p> tag by hitting W.

Surround's coolest functionality — to be able to change "text" into 'text' by typing cs"' — doesn't seem to be available.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top