1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Compare commits

..

No commits in common. "6f655c20aae2c01b03294c54e96786e309cdac35" and "8142cdf82f40b02ad643bd9ca2e9c775cca4b81a" have entirely different histories.

View File

@ -53,6 +53,8 @@ zstyle ':completion:*' list-colors "${(@s.:.)LS_COLORS}"
zstyle ':compinstall' filename "${ZDOTDIR:-~}/.zshrc" zstyle ':compinstall' filename "${ZDOTDIR:-~}/.zshrc"
export WORDCHARS='*?_[]~=&;!#$%^(){}' export WORDCHARS='*?_[]~=&;!#$%^(){}'
x-bash-backward-kill-word(){ WORDCHARS='' zle kill-word; }
zle -N x-bash-backward-kill-word
declare -A ZINIT declare -A ZINIT
ZINIT[HOME_DIR]="$XDG_CACHE_HOME/zsh/zinit" ZINIT[HOME_DIR]="$XDG_CACHE_HOME/zsh/zinit"
@ -71,6 +73,7 @@ zinit wait lucid light-mode for \
atload"!_zsh_autosuggest_start" \ atload"!_zsh_autosuggest_start" \
zsh-users/zsh-autosuggestions zsh-users/zsh-autosuggestions
zinit light Aloxaf/fzf-tab
zinit light agkozak/zsh-z zinit light agkozak/zsh-z
zinit ice lucid ver'master' wait'0a' pick'src/bash.command-not-found' zinit ice lucid ver'master' wait'0a' pick'src/bash.command-not-found'
@ -89,6 +92,8 @@ bindkey "^[[7~" beginning-of-line
bindkey "^[[8~" end-of-line bindkey "^[[8~" end-of-line
bindkey "^[[3~" delete-char bindkey "^[[3~" delete-char
bindkey "^[[3;3~" delete-word bindkey "^[[3;3~" delete-word
bindkey '^[^[[3~' x-bash-backward-kill-word
bindkey '^[^[[3^' x-bash-backward-kill-word
bindkey '^[[A' fzf-history-widget # Up (fzf) bindkey '^[[A' fzf-history-widget # Up (fzf)
bindkey '^[[B' fzf-history-widget # Down (fzf) bindkey '^[[B' fzf-history-widget # Down (fzf)
bindkey '^F' fzf-file-widget # Ctrl+F file search (fzf) bindkey '^F' fzf-file-widget # Ctrl+F file search (fzf)