Update cheatsheets

This commit is contained in:
ivuorinen
2024-04-04 00:14:06 +00:00
parent 8f2c5085f9
commit 3a982e2a23
3 changed files with 34 additions and 3 deletions

View File

@@ -5,7 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
---
# gitui
> Terminal UI for Git.
> A lightweight keyboard-only TUI for Git.
> See also: `tig`, `git-gui`.
> More information: <https://github.com/extrawurst/gitui>.
- Specify the color theme (defaults to `theme.ron`):

25
tldr/linux/ydotool Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# ydotool
> Control keyboard and mouse inputs via commands in a way that is display server agnostic.
> More information: <https://github.com/ReimuNotMoe/ydotool>.
- Start the ydotool daemon in the background:
`ydotoold`
- Perform a left click input:
`ydotool click 0xC0`
- Perform a right click input:
`ydotool click 0xC1`
- Input Alt+F4:
`ydotool key 56:1 62:1 62:0 56:0`

View File

@@ -5,8 +5,9 @@ source: https://github.com/tldr-pages/tldr.git
---
# tig
> A text-mode interface for Git.
> More information: <https://github.com/jonas/tig>.
> A configurable `ncurses`-based TUI for Git.
> See also: `gitui`, `git-gui`.
> More information: <https://jonas.github.io/tig/doc/manual.html>.
- Show the sequence of commits starting from the current one in reverse chronological order:
@@ -31,3 +32,7 @@ source: https://github.com/tldr-pages/tldr.git
- Start in stash view, displaying all saved stashes:
`tig stash`
- Display help in TUI:
`h`