Simple git/hg tui client focused on keyboard shortcuts
A simple Git/Hg tui client focused on keyboard shortcuts
This project uses Cargo and pure Rust stable and works on latest versions of Windows, Mac and Linux.
It depends on: - crossterm - ctrlc - rustyline
You can either install it via
cargoor download the binaries from github releases.
If you go the
cargoroute, you can install it using rustup. In a terminal, run this command to install
verco:
cargo install verco
You'll be able to open
vercofrom whichever directory you in.
sudo dnf copr enable atim/verco -y sudo dnf install verco
In a terminal in a repository folder, run the
vercocommand. It will launch
verco's tui and you'll be able to interface with git/hg.
Key Sequence |
Action |
---|---|
h | help |
q | quit |
s | status |
l | log |
LC | log count |
dd | current diff all |
ds | current diff selected |
DC | revision changes |
DD | revision diff all |
DS | revision diff selected |
cc | commit all |
cs | commit selected |
m | merge |
RA | revert all |
rs | revert selected |
rr | list unresolved conflicts |
ro | resolve taking other |
rl | resolve taking local |
f | fetch |
p | pull |
P | push |
tn | new tag |
bb | list branches |
bn | new branch |
bd | delete branch |
x | custom action |
Key Sequence |
Action |
---|---|
ctrl+c, esc | cancel input/filter/select or quit |
ctrl+j, ctrl+n, arrow down | move down one line |
ctrl+k, ctrl+p, arrow up | move up one line |
space | select entry when selecting |
enter | accept selection |
ctrl+f, / | enter filter mode when viewing action result |
ctrl+w | clear filter |
ctrl+h, backspace | pop one char from filter |
You can create simple custom actions to run in your repository folder by placing them in the file
.verco/custom_actions.txtin your repository root.
Each line in this file is treated as a different custom action. Until the first whitespace, the characters are treated as the keybind for the action, the next word is the command to be executed itself, and the rest are its parameters.
Example:
gv git --version
With
vercoopen, you can type in
xgv(
xis the custom action prefix) and it will print your git version without leaving
verco. Use it to create build tasks for example.