summaryrefslogtreecommitdiffstats
path: root/.zsh/rc/10keybindings
diff options
context:
space:
mode:
Diffstat (limited to '.zsh/rc/10keybindings')
-rw-r--r--.zsh/rc/10keybindings13
1 files changed, 13 insertions, 0 deletions
diff --git a/.zsh/rc/10keybindings b/.zsh/rc/10keybindings
new file mode 100644
index 0000000..5d76ab8
--- /dev/null
+++ b/.zsh/rc/10keybindings
@@ -0,0 +1,13 @@
+#--------------------
+# Keybindings
+#--------------------
+bindkey -e
+bindkey '\e[1~' beginning-of-line
+bindkey '\e[4~' end-of-line
+bindkey '\e[3~' delete-char
+bindkey '\e[2~' overwrite-mode
+bindkey "^[[7~" beginning-of-line # Pos1
+bindkey "^[[8~" end-of-line # End
+# HOWTO make your own:
+# bindkey '<crtl+alt+key>' <action> (do this in a shell)
+# for some actions run `bindkey`