Originally computers only had keyboards. And while most applications now support other devices, like mice, in many situations using the keyboard is much more efficient.
There’s a mental context switch when moving your hands from the keyboard to your mouse which can break your flow and thought process.
Lots of features are just easier with the keyboard: your fingers are already there when writing code—a couple extra keystrokes can make things much simpler & faster.
But—of course—they require practice, patience & persistence.
Shortcuts are ususally shown with a series of symbols. The symbols are thankfully written on most keyboards. But here’s a helpful overview of some important symbols.
| ||Option (Alt)|
Navigating between applications can make your coding process much smoother—and any computer use.
We’ll have lots of different apps open when coding: mostly our code editor & our browser. Learning to navigate beteween them quickly will help you keep in your flow.
| ||Will completely quit the application, not just close a window.|
| ||Will close a window or a tab.|
| ||Will save whatever file is currently active.|
| ||Will open new files.|
| ||Will cycle forwards through the last viewed windows in this application.|
| ||Will cycle backwards through the last viewed windows.|
| ||Will go to the previously used application.|
| || |
Since, when coding, we spend so much time just moving words & letters around a box—it’s helpful to know how to do that in a more efficient manner.
Since our hands are on the keyboard already typing things, we can keep our hands on the keyboard and use them to navigate the text too—not just type the words.
| ||Will copy some selected text.|
| ||Will paste the previously copied text.|
| ||Will copy then delete the text, cut.|
| ||Will undo any number of changes.|
| ||Will redo the changes you undid.|
| ||Will search for some text in the document.|
| ||After finding results, will jump to the next search result.|
| ||Will move backwards through the search results.|
| ||Will jump to the end of the line.|
| ||Will jump to the start of the line.|
| ||Will jump to the next word.|
| ||Will jump to the previous word.|
| ||Will jump to the top of the text.|
| ||Will jump to the bottom of the text.|
| ||Will highlight text; Can be combined with |
Manipulating files & folders
Finder is a very mouse driven interface—it was made for that purpose. But that shouldn’t stop us from using a little keyboard action to accomplish tasks more quickly.
| ||Will rename a file or folder.|
| ||Will trigger a preview.|
| ||Will make a new Finder window.|
| ||Will make a new folder in this location.|
| ||Will move a file/folder to the trash.|
| ||Will open a file in the default application.|
| ||Will duplicate the file/folder.|
| ||Will move around the files.|
| ||Will switch between “Icon”, “List” and “Column” views.|
As a web designer you’ll spend a significant amount of time in your browser. There are a few shortcuts that help exceptionally. These two will likely become your most typed keyboard shortcuts: Refresh (
⌘R) & changing tabs: (
| ||Will jump to the URL bar.|
| ||Will make a new tab.|
| ||Will reopen a recently closed tab.|
| ||Will jump to a tab by it’s order in the tab bar.|
| ||Will navigate the browser back.|
| ||Will navigate the browser forward.|
| ||Will go leftwards, navigating through the tabs.|
| ||Will go rightwards, navigation through the tabs.|
| ||Will jump around the web page highlighting controls you can manipulate.|
| ||Will trigger the active control, click links or check checkboxes, etc.|
| ||When no control is selected it will jump down the page.|
| ||Will jump up the page.|
- Computer shortcuts: Navigating applications
- Computer shortcuts: Navigating text
- Computer shortcuts: Manipulating files & folders
- Computer shortcuts: Browser shortcuts
For code editors
- Atom Keyboard Shortcuts
- Atom Editor Keyboard Shortcut Cheat Sheet
- Visual Studio Code Key Bindings
- Atom Vim-mode Plus
- Vim key bindings for VSCode