From ed42c28cea0bf0d58dea8a0cc5acc9f8df558d0e Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Mon, 3 Mar 2025 15:40:13 -0500 Subject: [PATCH] AutoYADM commit: 2025-03-03 15:40:13 --- .config/helix/languages.toml | 1 + .config/zsh/fzf.zsh | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml index 997c998f..14517c07 100644 --- a/.config/helix/languages.toml +++ b/.config/helix/languages.toml @@ -129,6 +129,7 @@ file-types = [ { glob = "hgrc" }, { glob = "npmrc" }, { glob = "rclone.conf" }, + { glob = "config" }, "conf", "properties", "cfg", diff --git a/.config/zsh/fzf.zsh b/.config/zsh/fzf.zsh index 5c707add..f059f3fb 100644 --- a/.config/zsh/fzf.zsh +++ b/.config/zsh/fzf.zsh @@ -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'"