Add fzf completion and keybindings
This commit is contained in:
parent
74f57b9ecf
commit
7dc417b480
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +1,6 @@
|
|||||||
[submodule "zsh-syntax-highlighting"]
|
[submodule "zsh-syntax-highlighting"]
|
||||||
path = zsh-syntax-highlighting
|
path = zsh-syntax-highlighting
|
||||||
url = https://github.com/zsh-users/zsh-syntax-highlighting
|
url = https://github.com/zsh-users/zsh-syntax-highlighting
|
||||||
|
[submodule "fzf"]
|
||||||
|
path = fzf
|
||||||
|
url = https://github.com/junegunn/fzf
|
||||||
|
|||||||
1
fzf
Submodule
1
fzf
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 6654239c94667fefb38d76cfc47b6abf5ced8149
|
||||||
5
zshrc
5
zshrc
@ -645,6 +645,11 @@ autoload -Uz zmv
|
|||||||
if [[ -d ${ZDOTDIR:-$HOME}/.zsh/zsh-syntax-highlighting ]]; then
|
if [[ -d ${ZDOTDIR:-$HOME}/.zsh/zsh-syntax-highlighting ]]; then
|
||||||
source ${ZDOTDIR:-$HOME}/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
source ${ZDOTDIR:-$HOME}/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
fi
|
fi
|
||||||
|
if command-exists fzf && [[ -d ${ZDOTDIR:-$HOME}/.zsh/fzf ]]; then
|
||||||
|
source ${ZDOTDIR:-$HOME}/.zsh/fzf/shell/completion.zsh
|
||||||
|
source ${ZDOTDIR:-$HOME}/.zsh/fzf/shell/key-bindings.zsh
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
#---------------------------------- Machine specific --------------------------
|
#---------------------------------- Machine specific --------------------------
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user