[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
|
static_file=${ZDOTDIR:-~}/.cache/zsh/.zsh_plugins.zsh
|
||||||
if [[ ! -f ~/.zsh/.shared_config ]]; then
|
if [[ ! -f ~/.zsh/.shared_config ]]; then
|
||||||
plugins_txt=${ZDOTDIR:-~}/.zsh/.zsh_plugins.txt
|
plugins_txt=${ZDOTDIR:-~}/.zsh/.zsh_plugins.txt
|
||||||
|
# Vi mode
|
||||||
|
bindkey -v
|
||||||
|
VI_MODE_SET_CURSOR=true
|
||||||
else
|
else
|
||||||
plugins_txt=${ZDOTDIR:-~}/.zsh/.zsh_plugins_shared.txt
|
plugins_txt=${ZDOTDIR:-~}/.zsh/.zsh_plugins_shared.txt
|
||||||
fi
|
fi
|
||||||
@@ -38,9 +41,6 @@ alias vim=nvim
|
|||||||
alias sudo='sudo '
|
alias sudo='sudo '
|
||||||
alias cgrep="grep --color=always"
|
alias cgrep="grep --color=always"
|
||||||
export EDITOR='nvim'
|
export EDITOR='nvim'
|
||||||
# Vi mode
|
|
||||||
bindkey -v
|
|
||||||
VI_MODE_SET_CURSOR=true
|
|
||||||
|
|
||||||
# Allow access to all libvirt vms
|
# Allow access to all libvirt vms
|
||||||
export LIBVIRT_DEFAULT_URI="qemu:///system"
|
export LIBVIRT_DEFAULT_URI="qemu:///system"
|
||||||
|
|||||||
Reference in New Issue
Block a user