Write code automatically in Atom. Inspired by http://hackertyper.com/
It works by "pasting" the code you want from your clipboard and then that code is written out, no matter what keys you type*.
It inserts code character by character into atom and so all of your existing plugins will run such as autopair.
This package was written because when I was recording screencasts and I kept making typos. With Hacker Typist, I'm able to copy prepared code from another file, and then "type" it in without mistakes.
- Open a file in Atom.
- Copy some code to your clipboard
- Press ctrl + alt + p to paste the code into Hacker Typist .
- Type like a child
- Hit
esc
when you're finished
This package also comes with an experimental client/server to send code to Hacker Typist. To use it
- Press ctrl + alt + s to start a TCP server that lisens for code
- In a new tab, run:
node ~/.atom/packages/hacker-typist/bin/ht-set-code.js <path-to-file>
or use stdinpbpaste | node ~/.atom/packages/hacker-typist/bin/ht-set-code.js
- Return to new file, type like a child
- Press
esc
to end and close the server
git clone <repo>
cd hacker-typist
npm install
apm link
Forked from zamarrowski's hacker-typer
Written by Nate Murray