diff --git a/.gitmodules b/.gitmodules index ad2795f..ea0e1f8 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "zsh/.config/zsh/plugins/zsh-autosuggestions"] path = zsh/.config/zsh/plugins/zsh-autosuggestions url = https://github.com/zsh-users/zsh-autosuggestions +[submodule "zsh/.config/zsh/plugins/fzf-git.sh"] + path = zsh/.config/zsh/plugins/fzf-git.sh + url = https://github.com/junegunn/fzf-git.sh diff --git a/zsh/.config/zsh/plugins/fast-syntax-highlighting b/zsh/.config/zsh/plugins/fast-syntax-highlighting index a62d721..3bd4aa2 160000 --- a/zsh/.config/zsh/plugins/fast-syntax-highlighting +++ b/zsh/.config/zsh/plugins/fast-syntax-highlighting @@ -1 +1 @@ -Subproject commit a62d721affc771de2c78201d868d80668a84c1e1 +Subproject commit 3bd4aa2450066f86b6a61e0426a50ac8b42061aa diff --git a/zsh/.config/zsh/plugins/fzf-git.sh b/zsh/.config/zsh/plugins/fzf-git.sh new file mode 160000 index 0000000..28b544a --- /dev/null +++ b/zsh/.config/zsh/plugins/fzf-git.sh @@ -0,0 +1 @@ +Subproject commit 28b544a7b6d284b8e46e227b36000089b45e9e00 diff --git a/zsh/.config/zsh/plugins/zsh-autosuggestions b/zsh/.config/zsh/plugins/zsh-autosuggestions index a411ef3..0e810e5 160000 --- a/zsh/.config/zsh/plugins/zsh-autosuggestions +++ b/zsh/.config/zsh/plugins/zsh-autosuggestions @@ -1 +1 @@ -Subproject commit a411ef3e0992d4839f0732ebeb9823024afaaaa8 +Subproject commit 0e810e5afa27acbd074398eefbe28d13005dbc15 diff --git a/zsh/.zshrc b/zsh/.zshrc index 4fa246d..db5c518 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -28,9 +28,14 @@ source $HOME/.config/.aliases source $HOME/.config/.aliases.local source $HOME/.config/zsh/key-bindings.zsh -source $HOME/.config/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh +# plugins +source $HOME/.config/zsh/plugins/fast-syntax-highlighting/F-Sy-H.plugin.zsh +source $HOME/.config/zsh/plugins/fzf-git.sh/fzf-git.sh source $HOME/.config/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh +#fzf +eval "$(fzf --zsh)" + # tmux if [ -x "$(command -v tmux)" ] && [ -n "${DISPLAY}" ] && [ -z "${TMUX}" ] && [ -z "${NOTMUX}" ]; then tmux || tmux >/dev/null 2>&1