summaryrefslogtreecommitdiff
path: root/zsh/zscripts/keybindrc.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/zscripts/keybindrc.zsh')
-rwxr-xr-xzsh/zscripts/keybindrc.zsh24
1 files changed, 0 insertions, 24 deletions
diff --git a/zsh/zscripts/keybindrc.zsh b/zsh/zscripts/keybindrc.zsh
deleted file mode 100755
index 2f2e664..0000000
--- a/zsh/zscripts/keybindrc.zsh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env zsh
-
-# Vi mode + requirements for ALL keybindings to work correctly
-bindkey -v # Select viins keymap
-KEYTIMEOUT=1
-
-# Keybindings
-autoload edit-command-line; zle -N edit-command-line # Edit line in Vim buffer
-bindkey '^E' edit-command-line # Ctrl-e - edit line in Vim buffer
-
-bindkey '^[[P' delete-char # Delete Key
-bindkey '^[[F' end-of-line # End Key
-bindkey '^[[H' beginning-of-line # Home Key
-bindkey '^[[2~' overwrite-mode # Insert Key
-bindkey '^D' kill-whole-line # Ctrl-d - delete line
-bindkey '^X' clear-screen # Ctrl-x - clear screen
-bindkey '^H' backward-delete-word # Ctrl-Backspace - delete entire word behind cursor
-bindkey '^[[3;5~' delete-word # Ctrl-Delete - delete currect word in front of the cursor
-# History completion
-bindkey '\e[A' history-search-backward # Up arrow - seach history backwards
-bindkey '\e[B' history-search-forward # Down arrow - seach history forwards
-
-# Ignore ctrl-d to exit shell
-setopt IGNORE_EOF