@@ -15,29 +15,49 @@ if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then
...
@@ -15,29 +15,49 @@ if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then
zle -N zle-line-finish
zle -N zle-line-finish
fi
fi
bindkey -e# Use emacs key bindings
bindkey -e# Use emacs key bindings
bindkey '\ew' kill-region # [Esc-w] - Kill from the cursor to the mark
bindkey '\ew' kill-region # [Esc-w] - Kill from the cursor to the mark
bindkey -s'\el''ls\n'# [Esc-l] - run command: ls
bindkey -s'\el''ls\n'# [Esc-l] - run command: ls
bindkey '^r' history-incremental-search-backward # [Ctrl-r] - Search backward incrementally for a specified string. The string may begin with ^ to anchor the search to the beginning of the line.
bindkey '^r' history-incremental-search-backward # [Ctrl-r] - Search backward incrementally for a specified string. The string may begin with ^ to anchor the search to the beginning of the line.
bindkey "${terminfo[kpp]}" up-line-or-history # [PageUp] - Up a line of history
if[["${terminfo[kpp]}"!=""]];then
bindkey "${terminfo[knp]}" down-line-or-history # [PageDown] - Down a line of history
bindkey "${terminfo[kpp]}" up-line-or-history # [PageUp] - Up a line of history
fi
if[["${terminfo[knp]}"!=""]];then
bindkey "${terminfo[knp]}" down-line-or-history # [PageDown] - Down a line of history