Comments (7)
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.
I would like a solution for this problem as well. I tried fish and i loved that feature.
from zsh-history-substring-search.
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.
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.
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.
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.
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)
- Release a new version HOT 2
- Not highlighting in zsh 5.9 HOT 13
- zsh-syntax-highlighting: unhandled ZLE widget 'history-substring-search-up' HOT 2
- integrate `history-substring-search-down` with existing widget
- Incompatibility with custom config setopt globsubst
- Modify your readme, bindkey does not work, as mentioned in readme HOT 2
- Need Help, i must "source .zshrc" first for the plugin to works HOT 2
- binding keys doesn't work?
- `(anon):local:1: bad option: -e` error HOT 7
- History not synced accross terminals. HOT 2
- Highlighting doesn't work when using both marlonrichert/zsh-autocomplete and zsh-users/zsh-syntax-highlighting HOT 2
- Shell is stuck on 100% cpu if last character is a pipe
- Add separate license file HOT 1
- Create release including `HISTORY_SUBSTRING_SEARCH_PREFIXED` HOT 2
- How to install on Ubuntu 22.04 (in WSL2) without Oh My Zsh? HOT 4
- Cannot search across in different terminal tab
- Not enough arguments for -U HOT 8
- .zshrc:XXX: no matches found: [plugins...] HOT 3
- Where do historical records exist? HOT 1
- How do I change the data source of a history command to histdb
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zsh-history-substring-search.