Merge sorin-ionescu/prezto/pull/1220

This commit is contained in:
Federico Castagnini 2016-12-29 00:09:03 -05:00
commit 1ee321332b
No known key found for this signature in database
GPG key ID: B8F54AA3DB400B54
4 changed files with 20 additions and 0 deletions

3
.gitmodules vendored
View file

@ -22,3 +22,6 @@
[submodule "modules/autoenv/external"]
path = modules/autoenv/external
url = https://github.com/horosgrisa/autoenv
[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
#