If you're looking for a more customizable plugin where the commands reside in the Control tab please see Salandora's excellent Custom Control Editor
This plugin lets you add custom G-code command buttons to OctoPrint's Terminal view tab (currenty only supports G-code). They're inserted between the terminal command input and the terminal filters.
Multiple commands can be bound to one button by separating them with a semicolon (;) e.g. M114;M503
(spaces before or after the semicolon are fine)
Install via the bundled Plugin Manager or manually using this URL:
https://github.com/ieatacid/OctoPrint-TerminalCommands/archive/master.zip