1
0
Fork 0

Add deer (ranger clone for zsh) external module support

pull/1225/head
Rui Coelho 8 years ago
parent 719e8e8957
commit 0e98744cb8

3
.gitmodules vendored

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

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

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

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

Loading…
Cancel
Save