added zsh-vi-mode plugin

This commit is contained in:
2025-01-29 12:37:11 +11:00
parent eb1beb5a60
commit 88f570829d
2 changed files with 5 additions and 3 deletions

6
.zshrc
View File

@@ -3,7 +3,6 @@ clear
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=10000
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/haelnorr/.zshrc'
@@ -12,6 +11,9 @@ autoload -Uz compinit
compinit
# End of lines added by compinstall
source /usr/share/zsh/plugins/zsh-vi-mode/zsh-vi-mode.plugin.zsh
bindkey -v
export EDITOR=nvim
alias cp='cp --reflink=auto'
@@ -23,6 +25,7 @@ alias vim=nvim
alias vi=nvim
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
alias top=btop
alias movies="movie; exit"
eval "$(fzf --zsh)"
export FZF_DEFAULT_OPTS=" \
@@ -64,4 +67,3 @@ type starship_zle-keymap-select >/dev/null || {
}
export PATH="$PATH:$HOME/.local/bin"
neofetch
alias movies="movie; exit"