Sublime Style Column Selection

January 25, 2016 ยท View on GitHub

Enable Sublime style 'Column Selection', allowing you to drag across lines to select a block of text with carets on each line.

Also similar to Textmate's 'Multiple Carets', or BBEdit's 'Block Select'

Usage

Hold the modifier key then click and drag with the configured mouse button across multiple lines. Dragging vertically places carets on each line at that column; dragging horizontally as well selects the text on each line.

Default key combinations are:

PlatformModifier KeyMouse Button
WindowsAltLeft
OS XOptionLeft
LinuxShiftLeft

Settings

The modifier key and mouse button can both be configured from the package's settings page. Available options:

Mouse Button

  • Left
  • Middle
  • Right

Key Trigger

  • Shift
  • Alt/Option
  • Ctrl
  • None

To use middle mouse selection working since version 1.4.0 please use the following settings.