clone of my dotfiles.ssp.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

some fzf goodness

sspaeti 0d8a477a 945ea48f

+22
+22
zsh/.dotfiles/zsh/configs.shrc
··· 61 61 62 62 #mise replaces asdf 63 63 eval "$(mise activate)" 64 + 65 + # Custom FZF keybindings - must be AFTER fzf is sourced to override defaults 66 + # Ctrl+f to fuzzy find files by name and open in nvim 67 + fzf-file-widget() { 68 + local file 69 + file=$(find . -type f 2>/dev/null | fzf) && nvim "$file" 70 + } 71 + zle -N fzf-file-widget 72 + bindkey '^F' fzf-file-widget 73 + 74 + # Ctrl+g to search file contents with fzf and open in nvim at the line 75 + fzfvim-widget() { 76 + local result file line 77 + result=$(rg --line-number --color=always . | fzf --ansi) 78 + if [[ -n "$result" ]]; then 79 + file=$(echo "$result" | cut -d':' -f1) 80 + line=$(echo "$result" | cut -d':' -f2) 81 + nvim "+$line" "$file" 82 + fi 83 + } 84 + zle -N fzfvim-widget 85 + bindkey '^G' fzfvim-widget