summaryrefslogtreecommitdiff
path: root/etc/keys
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-08-31 20:19:41 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-08-31 20:32:56 +0200
commit25f723e586957a7544c71b630f6485047c4b1e7f (patch)
tree5ce3f8670a2eeb685707593e0bccd3ada43213b7 /etc/keys
parent79fa316a4e537fae1bf60d4e0c6a4c5508b09606 (diff)
Added some keybindings from the Debian zshrc
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