diff --git a/README.md b/README.md index 3396acd..85297b3 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ A git diff pager based on [delta](https://github.com/dandavison/delta) but with a file tree, à la GitHub.

- +

> [!CAUTION] @@ -55,24 +55,25 @@ git config --global pager.diff diffnav ## Keys -| Key | Description | -|:-------------------|:--------------------------------| -| j | Next file | -| k | Previous file | -| Ctrl-d | Scroll the diff down | -| Ctrl-u | Scroll the diff up | -| e | Toggle the file tree | -| q | Quit | +| Key | Description | +| :---------------- | :------------------- | +| j | Next file | +| k | Previous file | +| Ctrl-d | Scroll the diff down | +| Ctrl-u | Scroll the diff up | +| e | Toggle the file tree | +| t | Search/go-to file | +| q | Quit | ## Under the hood `diffnav` uses: -* [Bubble Tea](https://github.com/charmbracelet/bubbletea) for the TUI -* [`delta`](https://github.com/dandavison/delta) for viewing the diffed file +- [Bubble Tea](https://github.com/charmbracelet/bubbletea) for the TUI +- [`delta`](https://github.com/dandavison/delta) for viewing the diffed file Screenshots use: -* [kitty](https://sw.kovidgoyal.net/kitty/) for the terminal -* [tokyonight](https://github.com/folke/tokyonight.nvim) for the color scheme -* [CommitMono](https://www.nerdfonts.com/font-downloads) for the font +- [kitty](https://sw.kovidgoyal.net/kitty/) for the terminal +- [tokyonight](https://github.com/folke/tokyonight.nvim) for the color scheme +- [CommitMono](https://www.nerdfonts.com/font-downloads) for the font