Comments (8)
Accepted. Thanks for your contribution. 🌟
from zsh-history-substring-search.
This seems terminal dependent. You fix it for one and break it for another. Hence why I prefer to use the terminfo database.
from zsh-history-substring-search.
Sorin, should I add zero 0
back into that for-loop?
from zsh-history-substring-search.
Sincerely, I don't know. Since using the terminfo database, I have stopped being bothered by this.
from zsh-history-substring-search.
ahh strange, perhaps I am in the minority then. I was using LXTerminal on
Lubuntu.
On Wed, Jun 19, 2013 at 6:47 PM, Sorin Ionescu [email protected]:
Sincerely, I don't know. Since using the terminfo databasehttps://github.com/sorin-ionescu/prezto/blob/master/modules/editor/init.zsh#L27-L66,
I have stopped being bothered by this.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/21#issuecomment-19720417
.
from zsh-history-substring-search.
Thanks Sorin, that tip works when I run zsh in a terminal:
# bind UP and DOWN arrow keys
zmodload zsh/terminfo
bindkey "$terminfo[kcuu1]" history-substring-search-up
bindkey "$terminfo[kcud1]" history-substring-search-down
But when I run zsh inside tmux, those bindings don't work. 😿
from zsh-history-substring-search.
Never mind, I discovered a workaround for the problem. 😅
# ... support zsh in tmux in URxvt too
if test "${TERM#screen}" != "$TERM"; then
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
fi
from zsh-history-substring-search.
I don't have a problem with bindings and tmux.
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.