Transitioned to a different zsh vi mode plugin because of bugs
This commit is contained in:
parent
0ef60bdd96
commit
afdb3280aa
1 changed files with 10 additions and 2 deletions
12
.zshrc
12
.zshrc
|
@ -300,10 +300,18 @@
|
||||||
# <<<
|
# <<<
|
||||||
### Plugins >>>
|
### Plugins >>>
|
||||||
{
|
{
|
||||||
# p10k instant prompt >>>
|
# plugin config >>>
|
||||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
fi
|
fi
|
||||||
|
# vim-mode cursor
|
||||||
|
# syntax: "[color] [blinking] [style]" see: https://github.com/softmoth/zsh-vim-mode#mode-in-prompt
|
||||||
|
MODE_CURSOR_VIINS="blinking bar"
|
||||||
|
MODE_CURSOR_REPLACE="steady bar"
|
||||||
|
MODE_CURSOR_VICMD="steady block"
|
||||||
|
MODE_CURSOR_SEARCH="blinking underline"
|
||||||
|
MODE_CURSOR_VISUAL="steady block"
|
||||||
|
MODE_CURSOR_VLINE="steady block"
|
||||||
# <<<
|
# <<<
|
||||||
# Load zinit >>>
|
# Load zinit >>>
|
||||||
{
|
{
|
||||||
|
@ -341,7 +349,7 @@
|
||||||
# Quality of life
|
# Quality of life
|
||||||
zinit load "zsh-users/zsh-autosuggestions"
|
zinit load "zsh-users/zsh-autosuggestions"
|
||||||
zinit load "zdharma/fast-syntax-highlighting"
|
zinit load "zdharma/fast-syntax-highlighting"
|
||||||
zinit load "jeffreytse/zsh-vi-mode"
|
zinit load "softmoth/zsh-vim-mode"
|
||||||
zinit load "zsh-users/zsh-history-substring-search"
|
zinit load "zsh-users/zsh-history-substring-search"
|
||||||
zinit load "zsh-users/zsh-completions"
|
zinit load "zsh-users/zsh-completions"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue