IDE Keymap
Have been switching multiple IDEs recently, I try to compose a generic yet enjoyable keymap that I can carry across IDE. This is a Work In Progress, thus this post will change.
Rules
- No
Fkeys - No
Numpadkeys
| Action | Inspiration | Custom | Jetbrains (J) | Sublime (S) | Atom (A) | VS Code (C) |
|---|---|---|---|---|---|---|
| Go to previous cursor in history | cmdaltleft | ctrl- | ctrl- | |||
| Go to next cursor in history | cmdaltright | cmdaltleft | ctrlshift- | ctrlshift- | ||
| Open terminal | ctrl ` | Keymap changes | ||||
| Annotate | Right Click annotate | Annotator plugin | ||||
| Simple fold | S,A,C | cmdalt[ | cmd- | cmdalt[ | cmdalt[ | cmdalt[ |
| Simple unfold | S,A,C | cmdalt] | cmd+ | cmdalt] | cmdalt] | cmdalt] |
| Fold all | C | cmdshift- | cmdaltshift[ | cmdshift- | ||
| Unfold all | C | cmdshift+ | cmdaltshitf] | cmdshift+ | ||
| Zoom in | S,A,C | cmd= | Pinch in | cmd= | cmd= | cmd= |
| Zoom out | S,A,C | cmd- | Pinch out | cmd- | cmd- | cmd- |
| Zoom reset | C | cmd0 | cmd+numpad0 | |||
| Switch to the file on the left | S,A | cmdaltleft | cmdshift[ | cmdaltleft | cmdaltleft | cmdaltleft |
| Switch to the file on the right | S,A | cmdaltright | cmdshift[ | cmdaltright | cmdaltright | cmdaltright |
| Close other editor panes | cmdk cmdt | |||||
| Find all then replace | S,A | cmdf altenter | cmdf altenter | cmdf altenter | ||
| Find next then replace | S,A | hightlight cmdd | hightlight cmdd | hightlight cmdd | ||
| Paste selected lines below | S,A | cmdshiftd | cmdshiftd | cmdshiftd |
Little things to note
+needs ashiftwhere-doesn’t need ashift. So if you don’t wantshift,=might be a better shortcut
