knox revised this gist . Go to revision
1 file changed, 3 insertions
fzf-28.sh(file created)
@@ -0,0 +1,3 @@ | |||
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' |
Newer
Older