···61616262#mise replaces asdf
6363eval "$(mise activate)"
6464+6565+# Custom FZF keybindings - must be AFTER fzf is sourced to override defaults
6666+# Ctrl+f to fuzzy find files by name and open in nvim
6767+fzf-file-widget() {
6868+ local file
6969+ file=$(find . -type f 2>/dev/null | fzf) && nvim "$file"
7070+}
7171+zle -N fzf-file-widget
7272+bindkey '^F' fzf-file-widget
7373+7474+# Ctrl+g to search file contents with fzf and open in nvim at the line
7575+fzfvim-widget() {
7676+ local result file line
7777+ result=$(rg --line-number --color=always . | fzf --ansi)
7878+ if [[ -n "$result" ]]; then
7979+ file=$(echo "$result" | cut -d':' -f1)
8080+ line=$(echo "$result" | cut -d':' -f2)
8181+ nvim "+$line" "$file"
8282+ fi
8383+}
8484+zle -N fzfvim-widget
8585+bindkey '^G' fzfvim-widget