summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-05-18 16:11:27 +0200
committerAlan Pearce2017-05-18 16:11:27 +0200
commit733ed131bb624a41551e738dceb28549b63b491a (patch)
tree4c12ce0a6e4bcc6ec92f968d33709c268c10bbf0
parent7dd1f8511650e690b8b7e7afa5eb473655ce7b18 (diff)
downloadnixfiles-733ed131bb624a41551e738dceb28549b63b491a.tar.lz
nixfiles-733ed131bb624a41551e738dceb28549b63b491a.tar.zst
nixfiles-733ed131bb624a41551e738dceb28549b63b491a.zip
zsh: Load fzf key-bindings as zplugin snippet
-rw-r--r--zsh/.config/zsh/.zshrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index 6f112a96..409bab92 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 () {