key-bindings.zsh 452 B

1234567891011121314
  1. # TODO: Explain what some of this does..
  2. autoload -U compinit
  3. compinit
  4. bindkey '\ew' kill-region
  5. bindkey -s '\el' "ls\n"
  6. bindkey -s '\e.' "..\n"
  7. bindkey '^r' history-incremental-search-backward
  8. bindkey "^[[5~" up-line-or-history
  9. bindkey "^[[6~" down-line-or-history
  10. bindkey "^[[H" beginning-of-line
  11. bindkey "^[[1~" beginning-of-line
  12. bindkey "^[[F" end-of-line
  13. bindkey "^[[4~" end-of-line
  14. bindkey ' ' magic-space # also do history expansion on space