From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21990 invoked by alias); 18 Jan 2016 17:58:10 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 37680 Received: (qmail 26879 invoked from network); 18 Jan 2016 17:58:09 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=BijinUSEWbnvi8F2nGFg5/XFligHXT4LcKHHRrN7evQ=; b=i+MkfnHxNVYrp96hP1rI1RSDTt/n//tVOmfNYnj30YXBhDX5m1YpOlgnNh0TMhlPtb vEu1DiJCclQc2OlG3wpgSACAhIK8nVQdZ7CzwIhgkX0EQjC+oi5/eYX8o2I35nL/9I1m dtXb19JbTx9rOX3MehBzTqpkKBCcerdSzG+cI3SvXgSHejg1ioKX4aUwDhMM5VuYjWqE np72ifsu+eRTFIssQbtCq8pOH1ZGGRdNdTNZHY1qA9K6hEmNtJwDkq6xvX1DNScCaqV2 uyPkcygmnnzKm2ch+BG1fJ5emDjg33e8kp7VFJr94PRieT/Q2hSKLu8HjdUydXunc0II qyxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=BijinUSEWbnvi8F2nGFg5/XFligHXT4LcKHHRrN7evQ=; b=Asl03AWkJF1G1QhxF5rRqv3C8JolbE2fHSd/9/DRerep1Gw7fY2u1qQ+zjJmZKhKV9 tvLMkhEuwaCJrKc1DYz5QD54kbrosIiu0MuzYCj4gPOLrrNQqfB0RoZritEFN0RTZdYk qr4N/ZyJ6uLpC5eliOJnK2ArsZpM9LI4fd8HQ7yLkSq+ayS2FXwm5WmygZ3qT9XmgplD MLHRx+qEaLc9TBXGtZ3tCDmgwJoQaA216JYFB8N23FUxd/FxbgvWXBQQmPneUemS8rXE vPayG2Zn+wXEAG63YuokH2YHq2CfiSVjSYVoR5aGlCFlxXS7lNXuqovblk9D3T7sOVa3 i9Mg== X-Gm-Message-State: AG10YOSRC707cLN+kxIVKu7b5rKZOTxEssQRxGwHWB6ucGtrhc0ryc9WyKImR/33ZfpVbhvvl8UxTtPnw2RxrQ== MIME-Version: 1.0 X-Received: by 10.28.156.213 with SMTP id f204mr13919631wme.57.1453138168330; Mon, 18 Jan 2016 09:29:28 -0800 (PST) In-Reply-To: References: Date: Mon, 18 Jan 2016 09:29:28 -0800 Message-ID: Subject: Re: Implementing search / reverse search in vi mode on input From: Bart Schaefer To: =?UTF-8?Q?Krzysztof_S=C5=82onka?= Cc: Zsh hackers list Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Jan 18, 2016 at 12:26 AM, Krzysztof S=C5=82onka wrote: > > I know that by using ctrl ] + / you can search through history, but I wou= ld > like to implement searching inside command input (the same way you can > search in vim, / for forward search and ? for backward). Could you explain in more detail what you mean by "command input"? And exactly when do you want to search it, relative to the execution of the command? I suspect you believe the shell is involved in a part of the process where it really is not, but I can't be sure.