This is a list of my preferred hotkeys when coding. These, of course, are nothing more than a preference. Though, If curious, this is what I use.
These were heavily based on Netbeans from many years ago and expanded upon.
This primarily applies to my favorite editor of all time: VSCode by Microsoft (cross-platform). They are also used in Sublime Text 3.
My second most used editor is VIM in the terminal. However, none of the keybindings apply to VIM, it's a different breed but a must-use editor.
Lastly, 99.99%-100% of all code I write is in Ubuntu Desktop (Linux).
Lately I've enjoyed Envy Code R (free) from this site:
- https://damieng.com/blog/2008/05/26/envy-code-r-preview-7-coding-font-released
- Direct Download: https://download.damieng.com/fonts/original/EnvyCodeR-PR7.zip
Included are:
vscode-settings.json
(To follow along)vscode-keys.json
(If you want the same hotkeys I use below).eslintrc
(For React)
Some of these are defaults. I hope this is useful in someway, shape or form. Perhaps, at best it may you give an idea to setup a hotkey you've never used to boost productivity.
Action | Hotkey |
---|---|
Close Tab | ctrl+w |
New Tab | ctrl+t |
Split Editor Horizontally | ctrl+[ |
Split Editor Vertically | ctrl+] |
Open Settings | ctrl+, |
Open Keybindings | ctrl+k ctrl+s |
Open File | ctrl+o |
Open Folder | ctrl+k ctrl+o |
VSCode: Open Workspace | ctrl+k ctrl+w |
File: Quick Open (ST3/VSCode) | ctrl+p |
Show all Commands (ST3/VSCode) | ctrl+shift+p |
VSCode: Toggle Sidebar | ctrl+k ctrl+b |
VSCode: Show Files (default) | ctrl+shift+e |
VSCode: Show Extensions (default) | ctrl+shift+x |
VSCode: Show Debugger (default) | ctrl+shift+d |
VSCode: Show Git (default) | ctrl+shift+g |
VSCode: Toggle Terminal | ctrl+~ |
VSCode: Toggle GitLense | ctrl+k ctrl+b |
Action | Hotkey |
---|---|
Duplicate Line | ctrl+d |
Delete Line | ctrl+e |
Cursor to Start of Line | alt+left | home |
Cursor to Start of Line with Select | alt+shift+left |
Cursor to End of Line | alt+end | end |
Cursor to End of Line with Select | alt+shift+end |
Move Line Up | ctrl+shift+up |
Move Line Down | ctrl+shift+down |
Go to Line | ctrl+g |
Go to Matching Tag | ctrl+m |
Join Lines | ctrl+j |
Sort Lines (Ascending) | alt+s |
Clone Cursor Up | shift+alt+up |
Clone Cursor Down | shift+alt+down |
Remove Cloned Cursors | esc |
Action | Hotkey |
---|---|
Find in File | ctrl+f |
Find in Project | ctrl+shift+f |
Replace in File | ctrl+h |
Replace in Project | ctrl+shift+h |
Moving Words Includes camelCase
Action | Hotkey |
---|---|
Move One Word Left | ctrl+left |
Move One Word Right | ctrl+right |
Move One Word Left with Select | ctrl+shift+left |
Move One Word Right with Select | ctrl+shift+right |
Toggle Uppercase/Lowercase | ctrl+k ctrl+u |
Next Error (Lint/Debug) | f2 |
Previous Error (Lint/Debug) | shift+f2 |
Action | Hotkey |
---|---|
Editing Text + Plugins | |
Add Custom Divider | alt+shift+d |
Todo: Toggle Start (Only in TODO files) | alt+s |
Todo: Toggle Done | alt+d |
Todo: Toggle Cancelled | alt+c |
MIT Open Source
© 2005-2018 Jesse Boyer <JREAM>