My personal cheatsheets for navi.
You can find cheatsheet repositories with:
navi repo browse
You can import cheatsheets from any git repository that includes .cheat
files:
navi repo add https://github.com/denisidoro/cheats
You can use cheatsheets from tldr by running:
navi --tldr <query>
You can use cheatsheets from cheat.sh by running:
navi --cheatsh <query>
- Clone this repository
git clone https://github.com/kyukee/cheatsheets
- Install the binary to your system
cd cheatsheets
sudo make
- Open your .zshrc, and export CHEATSHEETS_PATH with the path to the cloned repository
export CHEATSHEETS_PATH="$HOME/path/to/folder"
- You can now use this application with the following command:
cheat
- (Optional) To use the navi shell widget, add this line to your
.bashrc
-like file:
# bash
eval "$(navi widget bash)"
# zsh
eval "$(navi widget zsh)"
# fish
navi widget fish | source
By default, Ctrl+G
is assigned to launching navi.
Name | Use |
---|---|
howdoi | Get online answers to coding questions |
navi | Search for actions and commands |
tldr | Search help pages for a command |
cheat.sh | Same as tldr |