Skip to content

Commit 96e77b9

Browse files
add gg and G vim motions for vertical movement (#12)
1 parent cf49cf4 commit 96e77b9

3 files changed

Lines changed: 255 additions & 20 deletions

File tree

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ ripdiff --path /some/repo
6262
| `j` / `` | Move file selection down |
6363
| `k` / `` | Move file selection up |
6464
| `l` / `` | Switch to diff panel |
65-
| `g` / `G` | Jump to top / bottom of file list |
66-
| `Space` / `Enter` | Toggle diff visibility for selected file |
65+
| `gg` / `G` | Jump to top / bottom of file list |
66+
| `Space e` | Hide / show file list sidebar |
67+
| `Enter` | Toggle diff visibility for selected file |
6768

6869
### Diff Panel
6970

@@ -73,9 +74,10 @@ ripdiff --path /some/repo
7374
| `k` / `` | Scroll up one line |
7475
| `h` / `` | Switch to file list |
7576
| `Ctrl-d` / `Ctrl-u` | Scroll half page down / up |
76-
| `g` / `G` | Jump to top / bottom of diff |
77+
| `gg` / `G` | Jump to top / bottom of diff |
7778
| `]` / `[` | Jump to next / previous hunk |
78-
| `Space` / `Enter` | Toggle diff visibility for selected file |
79+
| `Space e` | Hide / show file list sidebar |
80+
| `Enter` | Toggle diff visibility for selected file |
7981

8082
## Quick Test
8183

0 commit comments

Comments
 (0)