Merge sorin-ionescu/prezto/pull/1220
This commit is contained in:
commit
1ee321332b
4 changed files with 20 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -22,3 +22,6 @@
|
||||||
[submodule "modules/autoenv/external"]
|
[submodule "modules/autoenv/external"]
|
||||||
path = modules/autoenv/external
|
path = modules/autoenv/external
|
||||||
url = https://github.com/horosgrisa/autoenv
|
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
1
modules/deer/external
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 2668477e04c6978ca2cdcb1651b17f119f752ce9
|
10
modules/deer/init.zsh
Normal file
10
modules/deer/init.zsh
Normal 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
|
|
@ -34,6 +34,12 @@ zstyle ':prezto:load' pmodule \
|
||||||
'completion' \
|
'completion' \
|
||||||
'prompt'
|
'prompt'
|
||||||
|
|
||||||
|
#
|
||||||
|
# Deer
|
||||||
|
#
|
||||||
|
# Set key bindings
|
||||||
|
zstyle ':prezto:module:deer' key-bindings '^k'
|
||||||
|
|
||||||
#
|
#
|
||||||
# Autosuggestions
|
# Autosuggestions
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Reference in a new issue