- Base keymap is macOS.
- Don't use cursor keys.
- Use my favorite emacs keybindings for editor actions.
| Shortcut | macOS / Emacs action |
|---|---|
| ⌃p | Up |
| ⌃n | Down |
| ⌃f | Right |
| ⌃b | Left |
| ⌃a | Move Caret to Line Start |
| ⌃e | Move Caret to Line End |
| ⌃k | Cut up to Line End |
| Shortcut | macOS action | Emacs action | Satisfied |
|---|---|---|---|
| ⇥ | Indent | Emacs Tab | ◎ |
| ⌃space | Code Completion Basic | Toggle Sticky Selection | ◎ |
| ⌃g | Add Selection for Next Occurrence | Escape | ◎ |
| ⌃d | Debug | Delete | ○ |
| ⌃h | Type Hierarchy | Backspace | ○ |
| Action | macOS shortcut | Emacs shortcut | Satisfied |
|---|---|---|---|
| Cut | ⌘x | ⌃w | △ |
| Copy | ⌘c | ⎋x | ✕ |
| Paste | ⌘v | ⌃y | △ |
| Action | macOS shortcut |
|---|---|
| Extend Selection | ⌥↑ |
| Shrink Selection | ⌥↓ |
| Goto Previous Editor Tab | ⌃← |
| Goto Next Editor Tab | ⌃→ |
| Navigate Back | ⌘⌥← |
| Navigate Next | ⌘⌥→ |
| Go Previous Method | ⌃↑ |
| Go Next Method | ⌃↓ |
| View Source | ⌘↓ |