[ZSH] Disable vi mode for shared setups
This commit is contained in:
@@ -12,6 +12,9 @@ mkdir -p ${ZDOTDIR:-~}/.cache/zsh
|
||||
static_file=${ZDOTDIR:-~}/.cache/zsh/.zsh_plugins.zsh
|
||||
if [[ ! -f ~/.zsh/.shared_config ]]; then
|
||||
plugins_txt=${ZDOTDIR:-~}/.zsh/.zsh_plugins.txt
|
||||
# Vi mode
|
||||
bindkey -v
|
||||
VI_MODE_SET_CURSOR=true
|
||||
else
|
||||
plugins_txt=${ZDOTDIR:-~}/.zsh/.zsh_plugins_shared.txt
|
||||
fi
|
||||
@@ -38,9 +41,6 @@ alias vim=nvim
|
||||
alias sudo='sudo '
|
||||
alias cgrep="grep --color=always"
|
||||
export EDITOR='nvim'
|
||||
# Vi mode
|
||||
bindkey -v
|
||||
VI_MODE_SET_CURSOR=true
|
||||
|
||||
# Allow access to all libvirt vms
|
||||
export LIBVIRT_DEFAULT_URI="qemu:///system"
|
||||
|
||||
Reference in New Issue
Block a user