Overload119 / expand-selection-to-indentation

Expands vertical selection based on the indentation of the current line

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expand Selection To Indentation

img_21-3|22PM.gif

  • Adds Atom shortcuts to expand selection of vertical lines of text with the same indentation.
  • Works similar to Sublime "Expand Selection to Indentation" but with more granularity since you can go up or down based on the current line.
  • Particularly useful for selecting blocks of text that you'd like to then sort.

keymap.json

This is the default keymap.json. Feel free to update it.

'atom-workspace':
  'alt-shift-down': 'expand-selection-to-indentation:select-down'
  'alt-shift-up': 'expand-selection-to-indentation:select-up'

About

Expands vertical selection based on the indentation of the current line

License:MIT License


Languages

Language:JavaScript 93.5%Language:CSS 6.5%