We've covered apps that help you focus by masking other windows in the background in the past. Quiet is another app that will blank out distractions and help you stick to the task at hand.
You can configure keyboard shortcuts or use the drop-down menu from the menu bar icon to enter and exit Focus mode fo