summaryrefslogtreecommitdiffstats
path: root/docs/navi.cheat
blob: f83b3e2347ce929b4f007e27aab7e33717a312fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
% cheatsheets
	 
# Download default cheatsheets
navi repo add denisidoro/cheats

# Browse for cheatsheet repos
navi repo browse

# Edit main local cheatsheets
f="$(navi info cheats-path)/main.cheat"
[ -f "$f" ] || navi info cheats-example > "$f"
$EDITOR "$f"


% config

# Edit config file
f="$(navi info config-path)"
[ -f "$f" ] || navi info config-example > "$f"
$EDITOR "$f"


% 3rd-party

# Search using tldr
navi --tldr "<query>"

# Search using cheatsh
navi --cheatsh "<query>"


% help

# Read command-line help text
navi --help

# Read project README.md
navi fn url::open "https://github.com/denisidoro/navi"