~yerinalexey/dotfiles

1d99114e98cfdff36de057d7c14df10cf3b9de79 — Alexey Yerin 9 months ago 97f2e9d
zsh: make ^L clear scrollback
1 files changed, 5 insertions(+), 2 deletions(-)

M zsh/bindings.zsh
M zsh/bindings.zsh => zsh/bindings.zsh +5 -2
@@ 23,10 23,13 @@ bindkey '^[.' insert-last-word

## History navigation
bindkey '^[[A' up-line-or-search
bindkey '^P'   up-line-or-search

bindkey '^[[B' down-line-or-search
bindkey '^N'   down-line-or-search

bindkey '^P' up-line-or-search
bindkey '^N' down-line-or-search
## Clear scrollback
bindkey '^L' clear-screen

## Search shell history
function _accept_search_vi {