|
3 | 3 | A git diff pager based on [delta](https://github.com/dandavison/delta) but with a file tree, à la GitHub.
|
4 | 4 |
|
5 | 5 | <p align="center">
|
6 |
| - <img width="750" src="https://github.com/user-attachments/assets/359cd2a3-a22f-4572-8a09-aa57befadd5d" /> |
| 6 | + <img width="750" src="https://github.com/user-attachments/assets/0a5bc0c9-9b74-4bca-8b8d-423bcf859e68" /> |
7 | 7 | </p>
|
8 | 8 |
|
9 | 9 | > [!CAUTION]
|
@@ -55,24 +55,25 @@ git config --global pager.diff diffnav
|
55 | 55 |
|
56 | 56 | ## Keys
|
57 | 57 |
|
58 |
| -| Key | Description | |
59 |
| -|:-------------------|:--------------------------------| |
60 |
| -| <kbd>j</kbd> | Next file | |
61 |
| -| <kbd>k</kbd> | Previous file | |
62 |
| -| <kbd>Ctrl-d</kbd> | Scroll the diff down | |
63 |
| -| <kbd>Ctrl-u</kbd> | Scroll the diff up | |
64 |
| -| <kbd>e</kbd> | Toggle the file tree | |
65 |
| -| <kbd>q</kbd> | Quit | |
| 58 | +| Key | Description | |
| 59 | +| :---------------- | :------------------- | |
| 60 | +| <kbd>j</kbd> | Next file | |
| 61 | +| <kbd>k</kbd> | Previous file | |
| 62 | +| <kbd>Ctrl-d</kbd> | Scroll the diff down | |
| 63 | +| <kbd>Ctrl-u</kbd> | Scroll the diff up | |
| 64 | +| <kbd>e</kbd> | Toggle the file tree | |
| 65 | +| <kbd>t</kbd> | Search/go-to file | |
| 66 | +| <kbd>q</kbd> | Quit | |
66 | 67 |
|
67 | 68 | ## Under the hood
|
68 | 69 |
|
69 | 70 | `diffnav` uses:
|
70 | 71 |
|
71 |
| -* [Bubble Tea](https://github.com/charmbracelet/bubbletea) for the TUI |
72 |
| -* [`delta`](https://github.com/dandavison/delta) for viewing the diffed file |
| 72 | +- [Bubble Tea](https://github.com/charmbracelet/bubbletea) for the TUI |
| 73 | +- [`delta`](https://github.com/dandavison/delta) for viewing the diffed file |
73 | 74 |
|
74 | 75 | Screenshots use:
|
75 | 76 |
|
76 |
| -* [kitty](https://sw.kovidgoyal.net/kitty/) for the terminal |
77 |
| -* [tokyonight](https://github.com/folke/tokyonight.nvim) for the color scheme |
78 |
| -* [CommitMono](https://www.nerdfonts.com/font-downloads) for the font |
| 77 | +- [kitty](https://sw.kovidgoyal.net/kitty/) for the terminal |
| 78 | +- [tokyonight](https://github.com/folke/tokyonight.nvim) for the color scheme |
| 79 | +- [CommitMono](https://www.nerdfonts.com/font-downloads) for the font |
0 commit comments