From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25592 invoked from network); 4 May 2002 05:27:58 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 4 May 2002 05:27:58 -0000 Received: (qmail 9232 invoked by alias); 4 May 2002 05:27:39 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4913 Received: (qmail 9212 invoked from network); 4 May 2002 05:27:37 -0000 Date: Fri, 3 May 2002 22:26:39 -0700 From: "Kingsley G. Morse Jr." To: zsh-users@sunsite.dk Subject: Configuring zsh to leave keys in command mode after a vi "/" search Message-ID: <20020503222639.A10707@debian1.loaner.com> Reply-To: "Kingsley G. Morse Jr." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Hi everyone. Does anyone happen to know how to configure zsh so the keyboard is left in vi's *command mode* after finding the first matching command in zsh's history with a "/" search? FOR EXAMPLE ... Say I want step through old "more" commands in zsh's history. $ /more ?more_ $ more /etc/hosts When I press "n" to find the next match ... $ more /etc/hostsn Oops! zsh was in vi's *insert* mode, interpreted the "n" literally and appended it to the end of the command! Is there a way to configure zsh so the "n" will be automatically interpreted as the "next" command and retrieve the next matching "more" command? Thanks, Kingsley