Tutorial :Is there a shortcut in Textmate to wrap selection with multiline comment?=begin and =end


I want a shortcut in Textmate to wrap the selected text with a ruby multiline comment -- '=begin' and '=end'. It doesn't look like there is an existing one. Anyone know how to make one?


Finally figure it out, mostly by luck. I still wish I could find where the shortcut was defined. However, it's ⌥⌘/


My bundle always uses the single-line comments, even when I select multiple lines. I'm sure your answer lies somewhere in Bundles > Bundle Editor > Ruby > Comments.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »