vile
[Top][All Lists]
Advanced

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

Re: [vile] searching for register contents


From: Wayne Cuddy
Subject: Re: [vile] searching for register contents
Date: Wed, 3 Jul 2013 17:01:34 -0400
User-agent: Mutt/1.4.2.3i

On Thu, Jun 27, 2013 at 08:40:21PM -0400, Thomas Dickey wrote:
> On Thu, Jun 27, 2013 at 03:47:57PM -0400, Wayne Cuddy wrote:
> > If I yank a word (or words) into a register is there a way to search
> > the current buffer for that registers contents?
> 
> hmm.  That puts the content into the unnamed buffer as well as kill-buffer-1.
> The $kill variable gets part of that (I recall as the first chunk, which
> should be enough for word/words), so you could assign that to $search,
> and use it - provided there are no metacharacters.
>

So how do I set $search to $kill?

The following sequence

set-variable $search $kill

assigned the literal string $kill to search and not the content of
the variable. Is this something I need to use a procedure along with
the &cat command in order to achieve?

Wayne



reply via email to

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