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' |
最後活躍
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' |