diff options
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -1,4 +1,4 @@ -# Load zgen +Load zgen source "/home/urbain/.zgen/zgen.zsh" if ! zgen saved; then @@ -26,7 +26,7 @@ if ! zgen saved; then # My plugins zgen load uvaes/fzf-marks - zgen load uvaes/grm + # zgen load uvaes/grm # Other plugins zgen load rupa/z @@ -39,24 +39,24 @@ if ! zgen saved; then zgen save fi -# Custom key bindings +# Custom key bindings for widgets bindkey -a 'k' history-beginning-search-backward bindkey -a 'j' history-beginning-search-forward bindkey '^P' history-beginning-search-backward bindkey '^N' history-beginning-search-forward +bindkey '^y' autosuggest-execute-suggestion -# Plugins configuration -REPOFILE="/home/urbain/dotfiles/repos.zsh" +# Environment variables for plugins +AUTOSUGGESTION_HIGHLIGHT_COLOR='fg=6' +REPOFILE=/home/urbain/dotfiles/repos.zsh # Autosuggestion -AUTOSUGGESTION_HIGHLIGHT_COLOR='fg=6' -bindkey '^y' autosuggest-execute-suggestion zle-line-init() { zle autosuggest-start } zle -N zle-line-init -# Fzf-marks +# Repofile # User configuration export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" @@ -145,7 +145,6 @@ fshow() { xargs -I % sh -c "git show --color=always % | less -R"' } -[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh if [[ -n ${TMUX} && -n ${commands[tmux]} ]];then @@ -199,3 +198,4 @@ z() { _z "$@" fi } +[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh |