+3

In Ruby mode, entering a pipe symbol ("|") with text selected should pipe-bracket that text.

Dan Martinez 12 years ago 0

Since Ruby uses the pipe symbol to demarcate block parameters, it would be nice if the pipe behaved in a way analogous to parentheses, square brackets, and curly brackets: if text is selected when entering the character, instead of replacing said text with the character, place one at the beginning and one at the end of selected text.