@@ -15,56 +15,87 @@ if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then
zle -N zle-line-finish
fi
bindkey -e# Use emacs key bindings
# Use emacs key bindings
bindkey -e
bindkey '\ew' kill-region # [Esc-w] - Kill from the cursor to the mark
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.
if[["${terminfo[kpp]}"!=""]];then
bindkey "${terminfo[kpp]}" up-line-or-history# [PageUp] - Up a line of history
bindkey '\ew' kill-region # [Esc-w] - Kill from the cursor to the mark
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 ' ' magic-space # [Space] - don't do history expansion