Re: [dev] another text user interface for sam

From: Connor Lane Smith <cls_AT_lubutu.com>
Date: Tue, 1 Mar 2016 17:23:11 +0000

On 1 March 2016 at 17:12, Marc André Tanner <mat_AT_brain-dump.org> wrote:
> I think structural regexp will integrate nicely with multiple selections.
>
> Basically if you omit the command of a structural regexp the editor
> would switch to visual mode and add a selection for every match. If you
> are already in visual mode then the existing selections would be used
> as ranges for an implicit leading loop construct (x/ in sam).
> That is for an existing selection x/ and y/ could be used to split it.
> Similarly the conditionals g/ and v/ would be used to keep / discard
> selections.

I agree (strongly!). My main complaint with sam is its inability to
reflect the multiple selections implied by its command language. It
would be fantastic if we could get that sorted, and vis may well be a
good place to do it. That isn't incompatible with the library idea, of
course.

cls
Received on Tue Mar 01 2016 - 18:23:11 CET

This archive was generated by hypermail 2.3.0 : Tue Mar 01 2016 - 18:36:05 CET