Search code examples
vimtextmatetextmatebundlessurround

Is there a Texmate bundle similar to Vim's surround plugin?


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


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.