annotate .shell.d/50.keybindings.zsh @ 520:9af1fc9b713c
zsh: enable iterm2 integration
This is the iterm2 integration script as of today. Squinting a bit,
this looks like the version of the file from
https://github.com/gnachman/iTerm2/commit/3d8173763e1e7f53c08a7da52fc92db4e036395a,
which is the most recent edit to the file on github.
| author |
Augie Fackler <raf@durin42.com> |
| date |
Thu, 14 Jul 2022 14:08:25 -0400 |
| parents |
62bfb554ab85 |
| children |
|
| rev |
line source |
|
0
|
1 bindkey -e |
|
|
2 autoload -U history-search-end |
|
|
3 zle -N history-beginning-search-backward-end history-search-end |
|
|
4 zle -N history-beginning-search-forward-end history-search-end |
|
|
5 bindkey '\e[A' history-beginning-search-backward-end |
|
|
6 bindkey '\e[B' history-beginning-search-forward-end |