[zsh] vi mode, cleanup

This commit is contained in:
Fabian Ising
2023-07-21 09:14:10 +02:00
parent 1c4d4f26fa
commit 5ec861b4ef

View File

@@ -5,7 +5,6 @@
[[ -f ~/.zsh/.powerline_config ]] && source ~/.zsh/.powerline_config [[ -f ~/.zsh/.powerline_config ]] && source ~/.zsh/.powerline_config
[[ -f ~/.zsh/.user_config ]] && source ~/.zsh/.user_config [[ -f ~/.zsh/.user_config ]] && source ~/.zsh/.user_config
[[ -f ~/.zsh/.virtual_env_config.zsh ]] && source ~/.zsh/.virtual_env_config.zsh [[ -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 [[ -f ~/.zsh/.local_config ]] && source ~/.zsh/.local_config
# Load Antidote # Load Antidote
@@ -28,21 +27,16 @@ bindkey '^q' clear-screen
# Bind Ctrl-W to kill-region # Bind Ctrl-W to kill-region
bindkey "^w" kill-region bindkey "^w" kill-region
bindkey -v
VI_MODE_SET_CURSOR=true
alias vim=nvim alias vim=nvim
alias sudo='sudo ' alias sudo='sudo '
export EDITOR='nvim' 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 ls="ls --color=always"
alias cgrep="grep --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() { delzip() {
unzip -Z -1 "$@" | xargs -I{} rm -rf {} unzip -Z -1 "$@" | xargs -I{} rm -rf {}