From 5ec861b4efc14f2594f18b70b8417d44564dd9ff Mon Sep 17 00:00:00 2001 From: Fabian Ising Date: Fri, 21 Jul 2023 09:14:10 +0200 Subject: [PATCH] [zsh] vi mode, cleanup --- zsh/.zshrc | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 81cb84d..89d6495 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -5,7 +5,6 @@ [[ -f ~/.zsh/.powerline_config ]] && source ~/.zsh/.powerline_config [[ -f ~/.zsh/.user_config ]] && source ~/.zsh/.user_config [[ -f ~/.zsh/.virtual_env_config.zsh ]] && source ~/.zsh/.virtual_env_config.zsh -[[ -f /usr/share/doc/find-the-command/ftc.zsh ]] && source /usr/share/doc/find-the-command/ftc.zsh [[ -f ~/.zsh/.local_config ]] && source ~/.zsh/.local_config # Load Antidote @@ -28,21 +27,16 @@ bindkey '^q' clear-screen # Bind Ctrl-W to kill-region bindkey "^w" kill-region +bindkey -v +VI_MODE_SET_CURSOR=true alias vim=nvim alias sudo='sudo ' export EDITOR='nvim' +export VISUAL='nvim' -#PATH="/home/fabian/perl5/bin${PATH:+:${PATH}}"; export PATH; -#PERL5LIB="/home/fabian/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB; -#PERL_LOCAL_LIB_ROOT="/home/fabian/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT; -#PERL_MB_OPT="--install_base \"/home/fabian/perl5\""; export PERL_MB_OPT; -#PERL_MM_OPT="INSTALL_BASE=/home/fabian/perl5"; export PERL_MM_OPT; alias ls="ls --color=always" alias cgrep="grep --color=always" -#export PATH="$PATH:${HOME}/Labor/tls-in-muas/starttls-research/99-Tools:/home/fabian/go/bin" -# For ccache -#export CCACHE_CPP2=YES delzip() { unzip -Z -1 "$@" | xargs -I{} rm -rf {}