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

Compare commits

..

2 Commits

Author SHA1 Message Date
6f655c20aa
zsh: remove fzf-tab plugin
This plugin is more of a hindrance than a help, even though fzf is still
really useful; just not here.

Signed-off-by: Joe Groocock <me@frebib.net>
2021-02-01 13:50:25 +00:00
9793eb491b
zsh: remove unused x-bash-backward-kill-word
The standard backward-delete-word works just fine, so this is redundant

Signed-off-by: Joe Groocock <me@frebib.net>
2021-02-01 13:49:49 +00:00

View File

@ -53,8 +53,6 @@ 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"
@ -73,7 +71,6 @@ 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'
@ -92,8 +89,6 @@ 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)