filter-lines
Filter lines based on the current text selection
jessexknight 3,227 7 2.0.0 MIT GitHub

Filter Lines Package

Filter lines based on the current text selection (including multi-line selections)

Keybindings:

Original Filter Filter & Select
ctrl+cmd+f ctrl+cmd+alt+f
original filter filter-and-select

To Do:

  • [ ] Find-and-Replace like panel with:
    • [ ] RegExp support
    • [ ] Case support
  • [x] Option to fold to zero lines instead of one (with ...)
  • [ ] Option to expand children of all filtered lines (e.g. for editing a list of json objects)
  • [ ] Preserve pre-filter folding after toggle off using hidden state
  • [x] hidden Toggle state
  • [x] flexible number of lines to keep before / after match
  • [x] option to select result

Thanks:

This package was inspired by: