update vim support and upgrade submodules

This commit is contained in:
pSox 2020-07-03 09:37:06 +01:00
parent 8fc693c1b8
commit 4ecbe74eba
5 changed files with 7 additions and 6 deletions

@ -1 +1 @@
Subproject commit 06b0276675e978d80535259915fbb44011e10101
Subproject commit 62648d71bb05116287206d83181f9daa5a59ba67

@ -1 +1 @@
Subproject commit 06d41226af02ca4f5bcf58169dd4f0a2aa42218c
Subproject commit 5c4f37a52d05022d689fb4364a53cfe78d83dc75

@ -1 +1 @@
Subproject commit 41828e2df4289e325e64f475efbe36e9c9dd7cd6
Subproject commit 3b247d3071b8f1b723f288aec10e91758a109045

@ -1 +1 @@
Subproject commit f1b9fbbaf0123fb7b14b4a11bc18c86fd4b2305b
Subproject commit fb929edc30192407a9298aad64f55ca1b19a464e

5
zshrc
View File

@ -139,7 +139,7 @@ plugins=(
( [[ -e /etc/arch-release ]] ) && plugins+=( archlinux )
( [[ -e /etc/suse-release ]] ) && plugins+=( suse )
( [[ "$(uname)" == "Darwin" ]] ) && plugins+=( osx )
( which vim 2>/dev/null >/dev/null ) && plugins+=( vim-interaction )
#( which vim 2>/dev/null >/dev/null ) && plugins+=( vim-interaction )
( which ssh 2>/dev/null >/dev/null ) && [[ -d ~/.ssh ]] && plugins+=( ssh-agent )
plugins+=(
zsh-completions
@ -149,7 +149,7 @@ plugins+=(
$post_plugins
)
if [[ "$OSTYPE" == "linux-gnu" || "$OSTYPE" == "darwin17.0.0" || "$OSTYPE" == "cygwin" ]]
if [[ "$OSTYPE" =~ "linux*" || "$OSTYPE" =~ "darwin*" || "$OSTYPE" == "cygwin" ]]
then
export VIMINIT='source $MYVIMRC'
export MYVIMRC=$PSOXIZSH/vimrc
@ -221,6 +221,7 @@ alias zshconfig="vim $PSOXIZSH/zshrc"
alias ohmyzsh="vim $PSOXIZSH/oh-my-zsh"
alias curlj="curl -H 'Content-Type: application/json' "
which nvim >/dev/null 2>&1 && alias vim="$(which nvim)"
alias v=vim
[[ -x /usr/bin/yay ]] && [[ "$(whoami)" != "pacman" ]] && alias yay='sudo -iupacman /usr/bin/yay'
typeset -A key