A very important factor of your productivity depends on how fast do you type & how many times your eyes go off the code to the keyboard , then come back again to the screen searching for the line you were working on.
Let me tell you, if you worked hard on your keyboard typing speed & minimized your eye movements , you will be able to maximize significantly. This means more productivity & less time staying at the boring office ;)
Initially you can start testing your typing speed & work more on it, then you can Google videos & tools to train yourself how to speed up your typing.
Start here http://keybr.com/ to test your speed & use http://www.powertyping.com/ to practice more on how to start typing faster.
Type fast!!!