view zshrc-bindkey @ 147:163ef90dd755

add an alias for sudo typos
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 23 Oct 2018 17:37:22 +0200
parents 46fb22ffffa8
children
line wrap: on
line source

# Pos1
bindkey '^[[H' beginning-of-line

# Ende
bindkey '^[[F' end-of-line

# Del
bindkey '^[[3~' delete-char-or-list

# Ctrl-Left
bindkey '^[[1;5D' backward-word

# Ctrl-Right
bindkey '^[[1;5C' forward-word

# cursor up just goes back in history
bindkey '^[[A' up-history

# cursor down just goes forward in history
bindkey '^[[B' down-history