[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: History for query replace pairs

From: Artur Malabarba
Subject: Re: History for query replace pairs
Date: Sun, 26 Oct 2014 01:12:17 +0000

> > If this line is followed, I'd recommend rebinding one of the transpose
> > commands (transpose-lines, perhaps) to swap the TO and FROM. Having to
> > manually kill and yank would be a very cumbersome way of reversing the
> > replacement.
> Good idea.  However, `transpose-lines' doesn't seem to fit semantically.
> But perhaps you proposed it because other transpose-* commands might be
> useful in the query-replace minibuffer inside the FROM or TO part.

Yes, I figured transpose-lines is the least useful of the transpose commands when it comes to query-replace input. But transpose sexps is probably almost as useless and might feel more intuitive.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]