Skip to content

Commit fc7da39

Browse files
committed
docs: update keys for search
1 parent c3c0ef1 commit fc7da39

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

README.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -55,24 +55,25 @@ git config --global pager.diff diffnav
5555

5656
## Keys
5757

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 |
6667

6768
## Under the hood
6869

6970
`diffnav` uses:
7071

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
7374

7475
Screenshots use:
7576

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

Comments
 (0)