3 ms·
I have a stupid little 'clip' program I wrote that has a dictionary of common texts that I can call by name and have added to the clipboard. $ clip lod
by kbd 11y ago
I have a stupid little 'clip' program I wrote that has a dictionary of common texts that I can call by name and have added to the clipboard.
$ clip lod
$ pbpaste
ಠ_ಠ
Maybe you can do the same without needing to remember code points. Something like TextExpander would accomplish the same thing.
- igravious 11y agoI don't think that's stupid. I think that's a great idea. I might have to use 'xclip' to go about making something equivalent.
- kbd 11y ago> I might have to use 'xclip' to go about making something equivalent. Right now my code just shells out to pbcopy on Mac, but you may be interested in pyperclip[1] which provides cross-platform access to the clipboard. [1] https://github.com/asweigart/pyperclip https://github.com/asweigart/pyperclip
- aktau 11y agoCan't remember where I got it from, but: https://github.com/aktau/dotfiles/blob/master/.zshrc-extra#L114-123 https://github.com/aktau/dotfiles/blob/master/.zshrc-extra#L...