通常我们都是一行一行地选择文本。如果想要一列一列地选择,是不是一定要安装UltraEdit呢?非也,今天介绍的Sublime Text,程序员写代码的利器,它也有选择一列,多列的功能。
Column selection can be used to select a rectangular area of a file. Column selection doesn't operate via a separate mode, instead it makes use of multiple selections.
也可以追加选择多个矩形块。
You can use additive selections to select multiple blocks of text, or subtractive selections to remove a block.
怎么用呢?鼠标!Using the Mouse
Different mouse buttons are used on each platform:
苹果 OS X操作系统,教你这么用
Left Mouse Button +⌥ (一手按下alt, 另一手按下鼠标左键,拖动选择)
OR: Middle Mouse Button (或:按下鼠标中键不放,拖动选择)
Add to selection:⌘ (cmd键,选择多个列区域)
Subtract from selection:⇧+⌘ (取消选择某个列区域)
其它操作系统的手法请戳这里:
网友评论