summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2020-01-05 22:42:38 +1300
committerDavid Phillips <david@sighup.nz>2020-01-05 22:42:38 +1300
commit388b3bd43daa4d14aba08d85a683f1877eb6ec5c (patch)
treee99789ef576335e223fa9119dd7041239e221da1 /zshrc
parentbb564cb086aab16ffe91370e17afa8396739ac46 (diff)
downloaddotfiles-388b3bd43daa4d14aba08d85a683f1877eb6ec5c.tar.xz
General cleanup
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/zshrc b/zshrc
index c79dad1..472d9b4 100644
--- a/zshrc
+++ b/zshrc
@@ -23,6 +23,9 @@ key[Insert]="$terminfo[kich1]"
key[Backspace]="$terminfo[kbs]"
key[Delete]="$terminfo[kdch1]"
+# Emacs-like bindings default
+bindkey -e
+
# setup key accordingly
[[ -n "$key[Home]" ]] && bindkey -- "$key[Home]" beginning-of-line
[[ -n "$key[End]" ]] && bindkey -- "$key[End]" end-of-line