summaryrefslogtreecommitdiff
path: root/etc/keys
diff options
context:
space:
mode:
Diffstat (limited to 'etc/keys')
-rw-r--r--etc/keys4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/keys b/etc/keys
new file mode 100644
index 0000000..2507aaa
--- /dev/null
+++ b/etc/keys
@@ -0,0 +1,4 @@
+## vim:ft=zsh
+[[ -z $terminfo[kdch1] ]] || bindkey -M emacs $terminfo[kdch1] delete-char
+[[ -z $terminfo[khome] ]] || bindkey -M emacs $terminfo[khome] beginning-of-line
+[[ -z $terminfo[kend] ]] || bindkey -M emacs $terminfo[kend] end-of-line