From 96ff954f28d92e3099a70435e4af970856a07ad7 Mon Sep 17 00:00:00 2001 From: Ryan Phillips Date: Fri, 27 May 2016 16:59:49 -0500 Subject: [PATCH] add deer support - a ranger like tool --- .gitmodules | 3 +++ modules/deer/external | 1 + modules/deer/init.zsh | 8 ++++++++ 3 files changed, 12 insertions(+) create mode 160000 modules/deer/external create mode 100644 modules/deer/init.zsh diff --git a/.gitmodules b/.gitmodules index 518a2795..b6cc2483 100644 --- a/.gitmodules +++ b/.gitmodules @@ -19,3 +19,6 @@ [submodule "modules/autosuggestions/external"] path = modules/autosuggestions/external url = https://github.com/tarruda/zsh-autosuggestions +[submodule "modules/deer/external"] + path = modules/deer/external + url = https://github.com/Vifon/deer.git diff --git a/modules/deer/external b/modules/deer/external new file mode 160000 index 00000000..1bb5b152 --- /dev/null +++ b/modules/deer/external @@ -0,0 +1 @@ +Subproject commit 1bb5b1526e83c6dabcefe61e3429ea92c337193e diff --git a/modules/deer/init.zsh b/modules/deer/init.zsh new file mode 100644 index 00000000..94c8b4ff --- /dev/null +++ b/modules/deer/init.zsh @@ -0,0 +1,8 @@ +# +# Load Deer Module +# +fpath=("${0:h}/external" $fpath) + +autoload -U deer +zle -N deer +bindkey '\ek' deer