Coder Social home page Coder Social logo

Comments (7)

unphased avatar unphased commented on May 20, 2024

I tried using zsh setopt XTRACE VERBOSE to debug, but it does not seem to emit any tracing when running zsh things triggered by key events (maybe zsh line editor (zle) related stuff? sorry I am not familiar with the zsh lingo or the subsystems...) so I am sort of stuck. I think there might be something related to zle -T that may help me since the docs say "debugging" associated with it a lot, but I don't know how to use this yet.

Actually, scratch that, I just found this. Neat trick!

from zsh-history-substring-search.

josefson avatar josefson commented on May 20, 2024

I would like a solution for this problem as well. I tried fish and i loved that feature.

from zsh-history-substring-search.

unphased avatar unphased commented on May 20, 2024

I can at least report that applying the "neat trick" I linked to above reveals that the zle widget for search up does NOT run in this situation. Do note that everything DOES FUNCTION PROPERLY if the action is bound to Page Up. The mission now is to find out why.

I was hoping I could hack it somehow (and there still may be a way!) but there is simply no way that I can re-wire my brain to use pgup/pgdn instead of arrow up down for navigating shell history.

So my next step was to delve into zsh source code, so that will have to wait a week or so, for me, at least.

Best case scenario is that zsh implements "cleverness" where if it sees "up" it abandons generating delayed fake keypresses. I hope that isnt what it's actually doing, but I also sort of hope it is, so I can take it out to fix the issue.

from zsh-history-substring-search.

josefson avatar josefson commented on May 20, 2024

I dunno what i did. Mine is working. Although i binder to ^p and ^n, which i prefer, but it was also working with up and down. Sorry for the previous comment i guess.

from zsh-history-substring-search.

unphased avatar unphased commented on May 20, 2024

Hmmm interesting. Yeah, i mean it could really be anything, and I have to do minimal-configuration testing to start out anyway and is very likely a configuration problem on my end.

from zsh-history-substring-search.

sunaku avatar sunaku commented on May 20, 2024

To rule out differences in configuration, start with zsh -f and then manually source this plugin and configure it as shown in the README. 🎉

from zsh-history-substring-search.

sunaku avatar sunaku commented on May 20, 2024

Closing due to no response after 6 months. 👮 Please reopen/comment if you have new information.
Note that I wasn't able to reproduce the issue here (I use a plain old zshrc and this plugin; no OMZ). 😱

from zsh-history-substring-search.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.