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..2668477e --- /dev/null +++ b/modules/deer/external @@ -0,0 +1 @@ +Subproject commit 2668477e04c6978ca2cdcb1651b17f119f752ce9 diff --git a/modules/deer/init.zsh b/modules/deer/init.zsh new file mode 100644 index 00000000..4fc7f9aa --- /dev/null +++ b/modules/deer/init.zsh @@ -0,0 +1,10 @@ +# +# Load Deer Module +# +fpath=("${0:h}/external" $fpath) + +autoload -U deer +zle -N deer +zstyle -s ':prezto:module:deer' key-bindings 'key_bindings' +bindkey "$key_bindings" deer +unset key_bindings diff --git a/runcoms/zpreztorc b/runcoms/zpreztorc index e93ac6bf..69697777 100644 --- a/runcoms/zpreztorc +++ b/runcoms/zpreztorc @@ -34,6 +34,12 @@ zstyle ':prezto:load' pmodule \ 'completion' \ 'prompt' +# +# Deer +# +# Set key bindings +zstyle ':prezto:module:deer' key-bindings '^k' + # # Autosuggestions #