I have a long string of text saved in a file that I want to easily copy to clipboard using Os X 10.11 terminal
1 Answer
pbcopy < myfile.txt or
cat myfile.txt | pbcopy See man pbcopy and man pbpaste.
(This is specific to Mac OS X; for Linux there are other similar commands.)
pbcopy < name-of-template-file. Then map that to a key.