Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Configuring zsh to leave keys in command mode after a vi "/" search



Bart,

Thanks for checking.

On Sat:20:34, Bart Schaefer wrote:
> On May 3, 10:26pm, Kingsley G. Morse Jr. wrote:
> } 
> }         $ <esc>/more<cr>
> }         ?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!
> 
> I'm not able to reproduce this at all.  Zsh always stays in command mode
> for me after ending a search.

Interesting...

> What version are you running,

        $ zsh --version
        zsh 4.0.4 (i686-pc-linux-gnu)
        
> and what options do you have set?

        $ setopt
        autocd
        noautoparamslash
        autopushd
        autoresume
        nobgnice
        cdablevars
        noclobber
        correct
        correctall
        extendedglob
        globdots
        histignoredups
        interactive
        longlistjobs
        mailwarning
        monitor
        pushdminus
        pushdsilent
        pushdtohome
        rcquotes
        recexact
        shinstdin
        zle

Thanks,
Kingsley



Messages sorted by: Reverse Date, Date, Thread, Author