Add deer (ranger clone for zsh) external module support

This commit is contained in:
Rui Coelho 2016-10-06 10:08:15 +01:00
parent 719e8e8957
commit 0e98744cb8
4 changed files with 20 additions and 0 deletions

3
.gitmodules vendored
View file

@ -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

1
modules/deer/external Submodule

@ -0,0 +1 @@
Subproject commit 2668477e04c6978ca2cdcb1651b17f119f752ce9

10
modules/deer/init.zsh Normal file
View file

@ -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

View file

@ -34,6 +34,12 @@ zstyle ':prezto:load' pmodule \
'completion' \
'prompt'
#
# Deer
#
# Set key bindings
zstyle ':prezto:module:deer' key-bindings '^k'
#
# Autosuggestions
#