简体   繁体   中英

Cycle through all history occurrences by typing first word and pressing up arrow without Oh-My-Zsh

Is there a way to use OMZ's most loved feature to cycle through all history occurrences by typing first word and pressing up arrow without Oh-My-Zsh itself? I mean there should be some plugin for pure zsh for this, isn't it?

Like on this GIF

1个

The magic for that behavior lives over in https://github.com/ohmyzsh/ohmyzsh/blob/master/lib/key-bindings.zsh

It works just fine on its own outside of omz

Copy, paste, attribute:)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM