Skip to content

Commit 43c55f3

Browse files
author
Stephan Dilly
committed
Toc readme (#653)
1 parent cb77e61 commit 43c55f3

File tree

1 file changed

+35
-21
lines changed

1 file changed

+35
-21
lines changed

README.md

+35-21
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,21 @@
2323

2424
![](demo.gif)
2525

26-
# Features
26+
## <a name="table-of-contents"></a> Table of Contents
27+
28+
1. [Features](#features)
29+
2. [Benchmarks](#bench)
30+
3. [Motivation](#motivation)
31+
4. [Roadmap](#roadmap)
32+
5. [Limitations](#limitations)
33+
6. [Installation](#installation)
34+
7. [Build](#build)
35+
8. [Diagnostics](#diagnostics)
36+
9. [Color Theme](#theme)
37+
10. [Key Bindings](#bindings)
38+
11. [Inspiration](#inspiration)
39+
40+
## 1. <a name="features"></a> Features <small><sup>[Top ▲](#table-of-contents)</sup></small>
2741

2842
- Fast and intuitive **keyboard only** control
2943
- Context based help (**no need to memorize** tons of hot-keys)
@@ -36,7 +50,7 @@
3650
- Scalable terminal UI layout
3751
- Async git API for fluid control
3852

39-
# Benchmarks
53+
## 2. <a name="bench"></a> Benchmarks <small><sup>[Top ▲](#table-of-contents)</sup></small>
4054

4155
For a [RustBerlin meetup presentation](https://youtu.be/rpilJV-eIVw?t=5334) ([slides](https://github.com/extrawurst/gitui-presentation)) I compared `lazygit`,`tig` and `gitui` by parsing the entire Linux git repository (which contains over 900k commits):
4256

@@ -46,13 +60,24 @@ For a [RustBerlin meetup presentation](https://youtu.be/rpilJV-eIVw?t=5334) ([sl
4660
| `lazygit` | 57 s | 2.6 | 16 | Yes | Sometimes |
4761
| `tig` | 4 m 20 s | 1.3 | **0.6**| Sometimes | **No**|
4862

49-
# Motivation
63+
## 3. <a name="motivation"></a> Motivation <small><sup>[Top ▲](#table-of-contents)</sup></small>
5064

5165
I do most of my git usage in a terminal but I frequently found myself using git UIs for some use cases like: index, commit, diff, stash and log.
5266

5367
Over the last 2 years my go-to GUI tool for this was [fork](https://git-fork.com) because it was snappy, free, and not bloated. Unfortunately the _free_ part will [change soon](https://github.com/ForkIssues/TrackerWin/issues/571) and so I decided to build a fast and simple terminal tool to help with features I use the most.
5468

55-
# Known Limitations
69+
## 4. <a name="roadmap"></a> Road(map) to 1.0 <small><sup>[Top ▲](#table-of-contents)</sup></small>
70+
71+
These are the high level goals before calling out `1.0`:
72+
73+
* merging with conflicts ([#485](https://github.com/extrawurst/gitui/issues/485))
74+
* log search (commit, author, sha) ([#449](https://github.com/extrawurst/gitui/issues/449),[#429](https://github.com/extrawurst/gitui/issues/429))
75+
* file history log ([#381](https://github.com/extrawurst/gitui/issues/381))
76+
* more tag support ([#483](https://github.com/extrawurst/gitui/issues/483))
77+
* file blame ([#484](https://github.com/extrawurst/gitui/issues/484))
78+
* visualize branching structure in log tab ([#81](https://github.com/extrawurst/gitui/issues/81))
79+
80+
## 5. <a name="limitations"></a> Known Limitations <small><sup>[Top ▲](#table-of-contents)</sup></small>
5681

5782
- no support for conflict resolution yet (see [#485](https://github.com/extrawurst/gitui/issues/485))
5883
- no support for [bare repositories](https://git-scm.com/book/en/v2/Git-on-the-Server-Getting-Git-on-a-Server) (see [#100](https://github.com/extrawurst/gitui/issues/100))
@@ -64,7 +89,7 @@ Currently, this tool does not fully substitute the _git shell_, however both too
6489

6590
All support is welcomed! Sponsors as well! ❤️
6691

67-
# Installation
92+
## 6. <a name="installation"></a> Installation <small><sup>[Top ▲](#table-of-contents)</sup></small>
6893

6994
For the time being this product is in alpha and is not considered production ready. However, for personal use it is reasonably stable and is being used while developing itself.
7095

@@ -129,7 +154,7 @@ Binaries available for:
129154
- macOS
130155
- Windows
131156

132-
# Build
157+
## 7. <a name="build"></a> Build <small><sup>[Top ▲](#table-of-contents)</sup></small>
133158

134159
### Requirements
135160

@@ -140,7 +165,7 @@ Binaries available for:
140165

141166
The simplest way to start playing around with `gitui` is to have `cargo` build and install it with `cargo install gitui`
142167

143-
# Diagnostics
168+
## 8. <a name="diagnostics"></a> Diagnostics <small><sup>[Top ▲](#table-of-contents)</sup></small>
144169

145170
To run with logging enabled run `gitui -l`.
146171

@@ -151,30 +176,19 @@ This will log to:
151176
- Linux: `$HOME/.cache/gitui/gitui.log`
152177
- Windows: `%LOCALAPPDATA%/gitui/gitui.log`
153178

154-
# Color Theme
179+
## 9. <a name="theme"></a> Color Theme <small><sup>[Top ▲](#table-of-contents)</sup></small>
155180

156181
![](assets/light-theme.png)
157182

158183
`gitui` should automatically work on both light and dark terminal themes.
159184

160185
However, you can customize everything to your liking: See [Themes](THEMES.md).
161186

162-
# Key Bindings
187+
## 10. <a name="bindings"></a> Key Bindings <small><sup>[Top ▲](#table-of-contents)</sup></small>
163188

164189
The key bindings can be customized: See [Key Config](KEY_CONFIG.md) on how to set them to `vim`-like bindings.
165190

166-
# Road(map) to 1.0
167-
168-
These are the high level goals before calling out `1.0`:
169-
170-
* merging with conflicts ([#485](https://github.com/extrawurst/gitui/issues/485))
171-
* log search (commit, author, sha) ([#449](https://github.com/extrawurst/gitui/issues/449),[#429](https://github.com/extrawurst/gitui/issues/429))
172-
* file history log ([#381](https://github.com/extrawurst/gitui/issues/381))
173-
* more tag support ([#483](https://github.com/extrawurst/gitui/issues/483))
174-
* file blame ([#484](https://github.com/extrawurst/gitui/issues/484))
175-
* visualize branching structure in log tab ([#81](https://github.com/extrawurst/gitui/issues/81))
176-
177-
# Inspiration
191+
## 11. <a name="inspiration"></a> Inspiration <small><sup>[Top ▲](#table-of-contents)</sup></small>
178192

179193
- [lazygit](https://github.com/jesseduffield/lazygit)
180194
- [tig](https://github.com/jonas/tig)

0 commit comments

Comments
 (0)