Column/Block Selection (Editors)
Device
- Mac
- Rest one finger on the trackpad. Hold Shift + Option.
- In VS Code (default macOS keymap), hold Shift-Option and drag for a column selection.
- Lift your fingers. Release the modifier.
Ready
Official documentation · VS Code docs
Movement & Result
1f
Shift-Option-drag
SEL
Select text
Same result, different movement
Other ways to achieve this:
- 1f Click, hold and drag Select a text range by clicking and dragging
- 1f Double-/triple-tap (Tap to click) Triple‑Tap = Select Paragraph
- 1f Double-click Select a word or paragraph
- 1f Triple-click Select a word or paragraph
- 2f Slide two fingers up/down Two‑Finger Swipe While Selecting
- 3f Three-finger drag Three‑Finger Drag = Select Without Clicking
Why it works
Editor defaults differ. In Visual Studio Code on Mac (default), ⇧⌥ + drag creates a rectangular selection. JetBrains IDEs often use ⌥ + drag—confirm in that editor’s keymap. Do not assume one chord for every IDE.
Sources
- VS Code docs — Official documentation