From 432d096887a7e0b75be13a32d5618e9b6a38dcd4 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 9 Dec 2015 19:04:02 -0500 Subject: [PATCH] zsh-autopair keybinds --- zsh/keybinds.zsh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/zsh/keybinds.zsh b/zsh/keybinds.zsh index 68c7eb91..b2b77d08 100644 --- a/zsh/keybinds.zsh +++ b/zsh/keybinds.zsh @@ -1,5 +1,13 @@ bindkey -v -bindkey '^@' edit-command-line +bindkey '^ ' edit-command-line + +bindkey '`' autopair-insert +bindkey '"' autopair-insert +bindkey "'" autopair-insert +bindkey '(' autopair-insert +bindkey '[' autopair-insert +bindkey '{' autopair-insert +bindkey '^?' autopair-delete bindkey -M viins '^w' backward-kill-word bindkey -M viins '^[w' forward-word