Skip to content

Commit df36cc4

Browse files
committed
docs: add key bindings section to README
1 parent 9d20227 commit df36cc4

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,31 @@ gitlogue theme set dracula
146146
gitlogue --commit HEAD~5 --author "john" --theme nord --speed 15 --ignore "*.ipynb"
147147
```
148148

149+
## Key Bindings
150+
151+
### Playback
152+
153+
| Key | Action |
154+
|-----|--------|
155+
| `Space` | Toggle play / pause |
156+
| `h` | Step one line backward |
157+
| `l` | Step one line forward |
158+
| `H` (Shift+h) | Step one change backward |
159+
| `L` (Shift+l) | Step one change forward |
160+
| `p` | Previous commit |
161+
| `n` | Next commit |
162+
| `Esc` | Open menu |
163+
| `q` / `Ctrl+c` | Quit |
164+
165+
### Menu
166+
167+
| Key | Action |
168+
|-----|--------|
169+
| `j` / `↓` | Move selection down |
170+
| `k` / `↑` | Move selection up |
171+
| `Enter` | Select item |
172+
| `Esc` | Close menu |
173+
149174
## Configuration
150175

151176
gitlogue can be configured via `~/.config/gitlogue/config.toml`.

0 commit comments

Comments
 (0)