AutoYADM commit: 2025-03-03 15:40:13

This commit is contained in:
Daniel Fichtinger 2025-03-03 15:40:13 -05:00
parent b91549fc0a
commit ed42c28cea
2 changed files with 13 additions and 12 deletions

View file

@ -129,6 +129,7 @@ file-types = [
{ glob = "hgrc" },
{ glob = "npmrc" },
{ glob = "rclone.conf" },
{ glob = "config" },
"conf",
"properties",
"cfg",

View file

@ -29,20 +29,20 @@ export FZF_DEFAULT_OPTS="
export FZF_TMUX_OPTS=" -p90%,70% "
source ~/.config/zsh/fzf-zsh-completion.sh
# source ~/.config/zsh/fzf-zsh-completion.sh
# press ctrl-r to repeat completion *without* accepting i.e. reload the completion
# press right to accept the completion and retrigger it
# press alt-enter to accept the completion and run it
keys=(
ctrl-r:'repeat-fzf-completion'
right:accept:'repeat-fzf-completion'
alt-enter:accept:'zle accept-line'
)
# # press ctrl-r to repeat completion *without* accepting i.e. reload the completion
# # press right to accept the completion and retrigger it
# # press alt-enter to accept the completion and run it
# keys=(
# ctrl-r:'repeat-fzf-completion'
# right:accept:'repeat-fzf-completion'
# alt-enter:accept:'zle accept-line'
# )
zstyle ':completion:*' fzf-completion-keybindings "${keys[@]}"
# also accept and retrigger completion when pressing / when completing cd
zstyle ':completion::*:cd:*' fzf-completion-keybindings "${keys[@]}" /:accept:'repeat-fzf-completion'
# zstyle ':completion:*' fzf-completion-keybindings "${keys[@]}"
# # also accept and retrigger completion when pressing / when completing cd
# zstyle ':completion::*:cd:*' fzf-completion-keybindings "${keys[@]}" /:accept:'repeat-fzf-completion'
export FZF_CTRL_T_OPTS="--preview 'bat --color=always -n --line-range :500 {}'"
export FZF_ALT_C_OPTS="--preview 'eza --tree --color=always {} | head -200'"