zsh: replace vi-mode with vim

This commit is contained in:
He4eT 2025-05-14 17:10:48 +02:00
commit 15ccb79c5e

View file

@ -30,13 +30,8 @@ CASE_SENSITIVE="false"
ZSH_AUTOSUGGEST_ACCEPT_WIDGETS=(end-of-line)
MODE_INDICATOR="%F{yellow}◼%f"
KEYTIMEOUT=1
bindkey -M vicmd 'V' edit-command-line
plugins=(
git
vi-mode
fancy-ctrl-z
fzf
zsh-autosuggestions
@ -44,6 +39,15 @@ plugins=(
source $ZSH/oh-my-zsh.sh
# Go to Vim
open-in-editor() {
zle edit-command-line
zle end-of-line
}
zle -N open-in-editor
bindkey '^v' open-in-editor
# Aliases
alias fakemsg='echo "$(curl -s https://whatthecommit.com/index.txt)"'