zellij-org/zellij

FR: add rectangular selection

Open

#2,188 opened on Feb 24, 2023

View on GitHub
 (3 comments) (1 reaction) (0 assignees)Rust (1,191 forks)batch import
help wanted

Repository metrics

Stars
 (32,593 stars)
PR merge metrics
 (Avg merge 42d 11h) (10 merged PRs in 30d)

Description

Imaging that some command basically output a small table and you'd like to select only (horizontally) middle part from it and you don't want to bother using awk/sed to get the necessary part.

It would be nice to be able to enter some mode (via menu? using some modifier key other than Shift [which is used by terminal]?) that would let the user do a rectangular selection using mouse (or maybe from keyword as well?).

This should work at very least inside a single pane. But as an extra that feature could also work across multiple panes inside of a single Zellij window. My only worry here would be to not have garbage spaces at the right edge, but that's just nitpicking beforehand.

Contributor guide