Created
December 7, 2017 22:49
-
-
Save d3v-null/2de930bd4c1140d794fcf20957032fbb to your computer and use it in GitHub Desktop.
My "one-liner" macro for pformatting and inserting it into the clipboard for analysis. I'd suggest using a snippet manager which supports cursor insertion (like Dash) to avoid having to scroll backwards to replace the @cursor placeholder. I have this mapped to ;ppc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyperclip, pprint; pyperclip.copy( pprint.pformat( @cursor ) ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment