fzf-28.sh
· 217 B · Bash
Orginalformat
# Press F1 to open the file with less without leaving fzf
# Press CTRL-Y to copy the line to clipboard and aborts fzf (requires pbcopy)
fzf --bind 'f1:execute(less -f {}),ctrl-y:execute-silent(echo {} | pbcopy)+abort'
1 | # Press F1 to open the file with less without leaving fzf |
2 | # Press CTRL-Y to copy the line to clipboard and aborts fzf (requires pbcopy) |
3 | fzf --bind 'f1:execute(less -f {}),ctrl-y:execute-silent(echo {} | pbcopy)+abort' |