diff options
author | Tim Oram <dev@mitmaro.ca> | 2022-11-17 08:44:56 -0330 |
---|---|---|
committer | Tim Oram <dev@mitmaro.ca> | 2022-11-17 08:51:57 -0330 |
commit | 5bb2e8dc3f8829f484fabd396ce63f8868f15d79 (patch) | |
tree | 21bd7752b17df2a84d815deda369b211b4a60675 | |
parent | 33838df17cbc0bd64c4966a1eaf12e6e73d851a1 (diff) |
Fixup default key bindings in readme
-rw-r--r-- | README.md | 89 |
1 files changed, 45 insertions, 44 deletions
@@ -113,50 +113,51 @@ interactive-rebase-tool --version ### Getting Help -The tool has built-in help that can be accessed by hitting the `?` key. - -### Default Key Bindings - -Key bindings can be configured, see [configuration](readme/customization.md#key-bindings) for more information. - -| Key | Mode | Description | -|-------------|--------|-------------------------------------------| -| Up | All | Move selection up | -| Down | All | Move selection down | -| Page Up | All | Move selection up five lines | -| Page Down | All | Move selection down five lines | -| Home | All | Move selection to start of list | -| End | All | Move selection to home of list | -| `q` | Normal | Abort interactive rebase | -| `Q` | Normal | Immediately abort interactive rebase | -| `w` | Normal | Write interactive rebase file | -| `W` | Normal | Immediately write interactive rebase file | -| `?` | All | Show help | -| `c` | Normal | Show commit information | -| `j` | All | Move selected commit(s) down | -| `k` | All | Move selected commit(s) up | -| `b` | Normal | Toggle break action | -| `p` | All | Set selected commit(s) to be picked | -| `r` | All | Set selected commit(s) to be reworded | -| `e` | All | Set selected commit(s) to be edited | -| `s` | All | Set selected commit(s) to be squashed | -| `f` | All | Set selected commit(s) to be fixed-up | -| `d` | All | Set selected commit(s) to be dropped | -| `E` | Normal | Edit the command of an exec action | -| `v` | All | Enter and exit visual mode | -| `I` | Normal | Insert a new line | -| `Delete` | All | Remove selected lines | -| `Control+z` | All | Undo the previous change | -| `Control+y` | All | Redo the previously undone change | -| Down | Diff | Scroll view down | -| Up | Diff | Scroll view up | -| Left | Diff | Scroll view left | -| Right | Diff | Scroll view right | -| Home | Diff | Scroll view to the top | -| End | Diff | Scroll view to the end | -| PageUp | Diff | Scroll view a step up | -| PageDown | Diff | Scroll view a step down | -| `d` | Diff | Show full commit diff | +The tool has built-in help that can be accessed by using the `?` key. + +### Common Default Key Bindings + +Key bindings can be customized, see [configuration](readme/customization.md#key-bindings) for all key bindings and information on configuring. + +| Key | Mode | Description | +|-------------|-------------|-------------------------------------------| +| `?` | All | Show help | +| Up | Normal/Diff | Move selection up | +| Down | Normal/Diff | Move selection down | +| Page Up | Normal/Diff | Move selection up five lines | +| Page Down | Normal/Diff | Move selection down five lines | +| Home | Normal/Diff | Move selection to start of list | +| End | Normal/Diff | Move selection to home of list | +| `q` | Normal/Diff | Abort interactive rebase | +| `Q` | Normal/Diff | Immediately abort interactive rebase | +| `w` | Normal/Diff | Write interactive rebase file | +| `W` | Normal/Diff | Immediately write interactive rebase file | +| `j` | Normal/Diff | Move selected commit(s) down | +| `k` | Normal/Diff | Move selected commit(s) up | +| `b` | Normal | Toggle break action | +| `p` | Normal/Diff | Set selected commit(s) to be picked | +| `r` | Normal/Diff | Set selected commit(s) to be reworded | +| `e` | Normal/Diff | Set selected commit(s) to be edited | +| `s` | Normal/Diff | Set selected commit(s) to be squashed | +| `f` | Normal/Diff | Set selected commit(s) to be fixed-up | +| `d` | Normal/Diff | Set selected commit(s) to be dropped | +| `E` | Normal | Edit the command of an editable action | +| `v` | Normal/Diff | Enter and exit visual mode | +| `I` | Normal | Insert a new line | +| `Delete` | Normal/Diff | Remove selected lines | +| `!` | Normal/Diff | Open todo file in external editor | +| `Control+z` | Normal/Diff | Undo the previous change | +| `Control+y` | Normal/Diff | Redo the previously undone change | +| `c` | Normal/Diff | Show commit information | +| Down | Diff | Scroll view down | +| Up | Diff | Scroll view up | +| Left | Diff | Scroll view left | +| Right | Diff | Scroll view right | +| Home | Diff | Scroll view to the top | +| End | Diff | Scroll view to the end | +| PageUp | Diff | Scroll view a step up | +| PageDown | Diff | Scroll view a step down | +| `d` | Diff | Show full commit diff | ## Supported Platforms |