From 733ed131bb624a41551e738dceb28549b63b491a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 18 May 2017 16:11:27 +0200 Subject: zsh: Load fzf key-bindings as zplugin snippet --- zsh/.config/zsh/.zshrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'zsh') diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 6f112a9..409bab9 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -243,11 +243,14 @@ then ghq look $(ghq list | fzf +m) } + zplugin snippet "https://github.com/junegunn/fzf/raw/master/shell/key-bindings.zsh" + + bindkey '^t' transpose-chars + zstyle ":anyframe:selector:fzf:" command "fzf --height 40%" bindkey '\es' anyframe-widget-cd-ghq-repository bindkey '^x^k' anyframe-widget-kill - bindkey '^r' anyframe-widget-put-history fi function function eb-active-environment () { -- cgit 1.4.1