Ok so say you have a bit of text you need to use frequently, but its kind of hard to remember and has so many odd characters its a slow one for you to type…
Take this as an example: print(’\33[f\33[2J’)
Since that is a “clear screen” command for python, it would be really nice to be able to just type in an easy key phrase like maybe “cls” or “clear” or something that atom would recognize and automatically replace that key phrase with the actual command. I’m sure I could just create my own python module and store tat command in.a function… but I’d rather not have to import it nearly everytime I wanted to write a script that involves the console.
Is there a way to do this in atom? If not is there a package for it?