chore(docs): regenerate manual and man page
This commit is contained in:
+176
-158
@@ -636,36 +636,42 @@ other terminals.
|
|||||||
.IP
|
.IP
|
||||||
.nf
|
.nf
|
||||||
\f[C]
|
\f[C]
|
||||||
n / nv / neovim nvim
|
Abbreviation Description
|
||||||
e edit
|
───────────────────────────────────────────────────────────────────
|
||||||
se sudoedit
|
n nvim
|
||||||
k kate
|
nv nvim
|
||||||
editt Open new tab with nvim (terminal-aware)
|
neovim nvim
|
||||||
cdnv cd \[ti]/.config/nvim
|
cdnv cd \[ti]/.config/nvim
|
||||||
cdnvn cd \[ti]/.config/nvim; nvim
|
cdnvn cd \[ti]/.config/nvim; nvim
|
||||||
|
k kate
|
||||||
|
e edit
|
||||||
|
se sudoedit
|
||||||
\f[R]
|
\f[R]
|
||||||
.fi
|
.fi
|
||||||
.SS 4.2 Navigation and Listing
|
.SS 4.2 Navigation and Listing
|
||||||
.IP
|
.IP
|
||||||
.nf
|
.nf
|
||||||
\f[C]
|
\f[C]
|
||||||
l ls
|
Abbreviation Description
|
||||||
lS lss (sort by size)
|
───────────────────────────────────────────────────────────────────
|
||||||
lsR lsr (sort by time, oldest first)
|
l ls
|
||||||
lX lx (sort by extension)
|
lS lss (sort by size)
|
||||||
lT lt (tree, depth 2)
|
lsR lsr (sort by time, oldest first)
|
||||||
lsT lstree (full recursive tree)
|
lX lx (sort by extension)
|
||||||
lzd ld (lazydocker)
|
lT lt (tree, depth 2)
|
||||||
cdi zi (interactive zoxide picker)
|
lsT lstree (full recursive tree)
|
||||||
\f[R]
|
\f[R]
|
||||||
.fi
|
.fi
|
||||||
.SS 4.3 Git
|
.SS 4.3 Git
|
||||||
.IP
|
.IP
|
||||||
.nf
|
.nf
|
||||||
\f[C]
|
\f[C]
|
||||||
g git
|
Abbreviation Description
|
||||||
lg lazygit
|
───────────────────────────────────────────────────────────────────
|
||||||
gitig / git-ignore gi (generate .gitignore)
|
lg lazygit
|
||||||
|
g git
|
||||||
|
gitig generate .gitignore
|
||||||
|
git-ignore generate .gitignore
|
||||||
\f[R]
|
\f[R]
|
||||||
.fi
|
.fi
|
||||||
.SS 4.4 Terminal Windows, Tabs, and Panes
|
.SS 4.4 Terminal Windows, Tabs, and Panes
|
||||||
@@ -676,135 +682,178 @@ inserted based on \f[V]$TERM\f[R] or \f[V]$TERM_PROGRAM\f[R].
|
|||||||
.IP
|
.IP
|
||||||
.nf
|
.nf
|
||||||
\f[C]
|
\f[C]
|
||||||
:w New OS window
|
Abbreviation Description
|
||||||
:wv Split pane horizontally (new pane below)
|
───────────────────────────────────────────────────────────────────
|
||||||
:wh Split pane vertically (new pane to the right)
|
editt Open new tab with nvim (terminal-aware)
|
||||||
:wo Detach current window to its own OS window
|
:q Close current pane/window
|
||||||
:wot Move current pane to a new tab
|
:Q Close current tab
|
||||||
:t New tab
|
:w New OS window
|
||||||
:tl Set tab title
|
:wv Split pane horizontally (new pane below)
|
||||||
:tw Set window title
|
:wh Split pane vertically (new pane to the right)
|
||||||
:twk Rename workspace (WezTerm only)
|
:wo Detach current window to its own OS window
|
||||||
:tp Focus previous tab
|
:wot Move current pane to a new tab
|
||||||
:tn Focus next tab
|
:t New tab
|
||||||
:q Close current pane/window
|
:tl Set tab title
|
||||||
:Q Close current tab
|
:tw Set window title
|
||||||
:sw spwin (spawn new OS window)
|
:twk Rename workspace (WezTerm only)
|
||||||
|
:tp Focus previous tab
|
||||||
|
:tn Focus next tab
|
||||||
|
:tgk New tab at \[ti]/.config/kitty
|
||||||
|
:tgn New tab at \[ti]/.config/nvim
|
||||||
|
:tgf New tab at \[ti]/.config/fish
|
||||||
|
:tgh New tab at \[ti]
|
||||||
|
:tgcz New tab at \[ti]/.local/share/chezmoi
|
||||||
|
:tgcm New tab at \[ti]/.config/chezmoi
|
||||||
|
:tgp New tab at \[ti]/projects
|
||||||
|
:tgr New tab at / (root)
|
||||||
|
:wgk New OS window at \[ti]/.config/kitty
|
||||||
|
:wgn New OS window at \[ti]/.config/nvim
|
||||||
|
:wgf New OS window at \[ti]/.config/fish
|
||||||
|
:wgh New OS window at \[ti]
|
||||||
|
:wgzd New OS window at \[ti]/.local/share/chezmoi
|
||||||
|
:wgcz New OS window at \[ti]/.config/chezmoi
|
||||||
|
:wgp New OS window at \[ti]/projects
|
||||||
|
:wgr New OS window at / (root)
|
||||||
|
:wvgk Split bottom at \[ti]/.config/kitty
|
||||||
|
:wvgn Split bottom at \[ti]/.config/nvim
|
||||||
|
:wvgf Split bottom at \[ti]/.config/fish
|
||||||
|
:wvgh Split bottom at \[ti]
|
||||||
|
:wvgcz Split bottom at \[ti]/.local/share/chezmoi
|
||||||
|
:wvgcm Split bottom at \[ti]/.config/chezmoi
|
||||||
|
:wvgp Split bottom at \[ti]/projects
|
||||||
|
:wvgr Split bottom at / (root)
|
||||||
|
:whgk Split right at \[ti]/.config/kitty
|
||||||
|
:whgn Split right at \[ti]/.config/nvim
|
||||||
|
:whgf Split right at \[ti]/.config/fish
|
||||||
|
:whgh Split right at \[ti]
|
||||||
|
:whgcz Split right at \[ti]/.local/share/chezmoi
|
||||||
|
:whgcm Split right at \[ti]/.config/chezmoi
|
||||||
|
:whgp Split right at \[ti]/projects
|
||||||
|
:whgr Split right at / (root)
|
||||||
|
:cdk cd \[ti]/.config/kitty
|
||||||
|
:cdkn cd \[ti]/.config/kitty; nvim
|
||||||
|
:cdn cd \[ti]/.config/nvim
|
||||||
|
:cdnn cd \[ti]/.config/nvim; nvim
|
||||||
|
:cdf cd \[ti]/.config/fish
|
||||||
|
:cdfn cd \[ti]/.config/fish; nvim
|
||||||
|
:cdh cd \[ti]
|
||||||
|
:cdhn cd \[ti]; nvim
|
||||||
|
:cdcz cd \[ti]/.local/share/chezmoi
|
||||||
|
:cdczn cd \[ti]/.local/share/chezmoi; nvim
|
||||||
|
:cdcm cd \[ti]/.config/chezmoi
|
||||||
|
:cdcmn cd \[ti]/.config/chezmoi; nvim
|
||||||
|
:cdp cd \[ti]/projects/...
|
||||||
|
:cdpn cd \[ti]/projects; nvim
|
||||||
|
:cdw cd \[ti]/.config/wezterm
|
||||||
|
:cdwn cd \[ti]/.config/wezterm; nvim
|
||||||
|
:sw spwin (spawn new OS window)
|
||||||
\f[R]
|
\f[R]
|
||||||
.fi
|
.fi
|
||||||
.PP
|
|
||||||
Quick-navigate shortcuts open windows/tabs/panes with preset working
|
|
||||||
dirs:
|
|
||||||
.IP
|
|
||||||
.nf
|
|
||||||
\f[C]
|
|
||||||
:tgk New tab at \[ti]/.config/kitty
|
|
||||||
:tgn New tab at \[ti]/.config/nvim
|
|
||||||
:tgf New tab at \[ti]/.config/fish
|
|
||||||
:tgh New tab at \[ti]
|
|
||||||
:tgcz New tab at chezmoi source dir
|
|
||||||
:tgcm New tab at chezmoi source dir
|
|
||||||
:tgp New tab at \[ti]/projects
|
|
||||||
:tgr New tab at / (root)
|
|
||||||
\f[R]
|
|
||||||
.fi
|
|
||||||
.PP
|
|
||||||
Prefixes :wg* and :wvg* / :whg* open OS windows or splits to the same
|
|
||||||
set of dirs, respectively.
|
|
||||||
.PP
|
|
||||||
Prefixes :cd* open tabs with a quick cd shortcut:
|
|
||||||
.IP
|
|
||||||
.nf
|
|
||||||
\f[C]
|
|
||||||
:cdn cd \[ti]/.config/nvim
|
|
||||||
:cdf cd \[ti]/.config/fish
|
|
||||||
:cdh cd \[ti]
|
|
||||||
:cdcz cd to chezmoi source
|
|
||||||
:cdp cd \[ti]/projects
|
|
||||||
\f[R]
|
|
||||||
.fi
|
|
||||||
.PP
|
|
||||||
Appending n to any :cd* abbreviation also runs nvim after changing dir.
|
|
||||||
.SS 4.5 Chezmoi
|
.SS 4.5 Chezmoi
|
||||||
.IP
|
.IP
|
||||||
.nf
|
.nf
|
||||||
\f[C]
|
\f[C]
|
||||||
cm / cme / cmi / cmap / cmad / cmrm / cmcd /
|
Abbreviation Description
|
||||||
cz / cze / czi / czap / czad / czrm / czcd
|
───────────────────────────────────────────────────────────────────
|
||||||
|
cm chezmoi
|
||||||
cm / cz chezmoi
|
cmcd chezmoi cd
|
||||||
cmcd / czcd chezmoi cd
|
czcd chezmoi cd
|
||||||
cme / cze chezmoi edit
|
cdcm chezmoi cd
|
||||||
cmad / czad chezmoi add
|
cdcz chezmoi cd
|
||||||
cmap / czap chezmoi apply
|
cme chezmoi edit
|
||||||
cmrm / cmf / czrm / czf chezmoi forget
|
cze chezmoi edit
|
||||||
cmi / czi chezmoi init
|
cmad chezmoi add
|
||||||
|
czad chezmoi add
|
||||||
|
cmap chezmoi apply
|
||||||
|
czap chezmoi apply
|
||||||
|
cmrm chezmoi forget
|
||||||
|
cmf chezmoi forget
|
||||||
|
czrm chezmoi forget
|
||||||
|
czf chezmoi forget
|
||||||
|
cmi chezmoi init
|
||||||
|
czi chezmoi init
|
||||||
\f[R]
|
\f[R]
|
||||||
.fi
|
.fi
|
||||||
.SS 4.6 Docker
|
.SS 4.6 Docker
|
||||||
.IP
|
.IP
|
||||||
.nf
|
.nf
|
||||||
\f[C]
|
\f[C]
|
||||||
dcl docker context use default
|
Abbreviation Description
|
||||||
dcls docker context ls
|
───────────────────────────────────────────────────────────────────
|
||||||
lzd ld (lazydocker)
|
dcl docker context use default
|
||||||
|
lzd ld (lazydocker)
|
||||||
|
dcls docker context ls
|
||||||
\f[R]
|
\f[R]
|
||||||
.fi
|
.fi
|
||||||
.SS 4.7 Systemctl
|
.SS 4.7 Systemctl
|
||||||
.IP
|
.IP
|
||||||
.nf
|
.nf
|
||||||
\f[C]
|
\f[C]
|
||||||
sc systemctl
|
Abbreviation Description
|
||||||
ssc sudo systemctl
|
───────────────────────────────────────────────────────────────────
|
||||||
scu systemctl --user
|
sc systemctl
|
||||||
st systemctl status
|
ssc sudo systemctl
|
||||||
scs sudo systemctl start
|
scu systemctl --user
|
||||||
scr sudo systemctl restart
|
st systemctl status
|
||||||
ssct sudo systemctl start
|
scs systemctl start
|
||||||
sscs sudo systemctl stop
|
scr systemctl restart
|
||||||
sscr sudo systemctl restart
|
ssct sudo systemctl status
|
||||||
|
sscs sudo systemctl start
|
||||||
|
sscr sudo systemctl restart
|
||||||
\f[R]
|
\f[R]
|
||||||
.fi
|
.fi
|
||||||
.SS 4.8 AI Assistants
|
.SS 4.8 AI Assistants
|
||||||
.IP
|
.IP
|
||||||
.nf
|
.nf
|
||||||
\f[C]
|
\f[C]
|
||||||
ag agy
|
Abbreviation Description
|
||||||
ag. agy .
|
───────────────────────────────────────────────────────────────────
|
||||||
v antigravity-ide
|
v antigravity-ide
|
||||||
s wezterm ssh (WezTerm only)
|
s wezterm ssh (WezTerm only)
|
||||||
|
ag agy
|
||||||
|
ag. agy .
|
||||||
\f[R]
|
\f[R]
|
||||||
.fi
|
.fi
|
||||||
.SS 4.9 History Expansion
|
.SS 4.9 History Expansion
|
||||||
.PP
|
.PP
|
||||||
These are implemented as keybinding helpers, but can also be typed:
|
Bash-style history expansions trigger on Space or Enter.
|
||||||
|
Some are implemented as abbreviations (e.g.\ \f[V]!*\f[R]), while others
|
||||||
|
(\f[V]!!\f[R], \f[V]!$\f[R], \f[V]!.\f[R]) are implemented as
|
||||||
|
keybindings, but they all serve the same purpose.
|
||||||
.IP
|
.IP
|
||||||
.nf
|
.nf
|
||||||
\f[C]
|
\f[C]
|
||||||
!\[ha] Expand to first argument of previous command
|
Abbreviation Description
|
||||||
!* Expand to all arguments of previous command
|
───────────────────────────────────────────────────────────────────
|
||||||
typo_sub Interactive typo substitution (Ctrl+F)
|
!\[ha] Expand to the first argument of the previous command
|
||||||
bang_string !string expansion
|
!* Expand to all arguments of the previous command
|
||||||
bang_search !?string search
|
\[ha]old\[ha]new\[ha] Interactive typo substitution (replace \[aq]old\[aq] with \[aq]new\[aq] in previous command)
|
||||||
bang_minus_n !-n (nth-previous command)
|
!string Expand to the most recent command starting with \[aq]string\[aq]
|
||||||
|
!?string? Expand to the most recent command containing \[aq]string\[aq]
|
||||||
|
!-n Expand to the nth-previous command
|
||||||
|
!! Expand to the previous command
|
||||||
|
!$ Expand to the last argument of the previous command
|
||||||
|
!. Expand .. to ../.. and so on
|
||||||
\f[R]
|
\f[R]
|
||||||
.fi
|
.fi
|
||||||
.SS 4.10 Miscellaneous
|
.SS 4.10 Miscellaneous
|
||||||
.IP
|
.IP
|
||||||
.nf
|
.nf
|
||||||
\f[C]
|
\f[C]
|
||||||
/exit exit
|
Abbreviation Description
|
||||||
:q Close pane (alias for terminal close)
|
───────────────────────────────────────────────────────────────────
|
||||||
:Q Close tab
|
sudu sudo -s
|
||||||
sudu sudo -s
|
kt kitty (Kitty only)
|
||||||
kt kitty (Kitty only)
|
c cat
|
||||||
c cat
|
/exit exit
|
||||||
speedtest-fast fast-cli
|
speedtest-fast fast-cli
|
||||||
bl bd list
|
bl bd list
|
||||||
bs bd sync
|
bs bd sync
|
||||||
bC bd create --title
|
bC bd create --title
|
||||||
bsh bd show
|
bsh bd show
|
||||||
lb lazybeads
|
lb lazybeads
|
||||||
|
open-repo repo-open
|
||||||
|
url-open open-url
|
||||||
\f[R]
|
\f[R]
|
||||||
.fi
|
.fi
|
||||||
.SS 4.11 Shell Aliases
|
.SS 4.11 Shell Aliases
|
||||||
@@ -812,60 +861,29 @@ lb lazybeads
|
|||||||
These aliases are defined in conf.d/tricks.fish via alias (which creates
|
These aliases are defined in conf.d/tricks.fish via alias (which creates
|
||||||
Fish functions).
|
Fish functions).
|
||||||
They are active in all interactive sessions.
|
They are active in all interactive sessions.
|
||||||
.SS Navigation
|
|
||||||
.IP
|
.IP
|
||||||
.nf
|
.nf
|
||||||
\f[C]
|
\f[C]
|
||||||
\&.. cd ..
|
Abbreviation Description
|
||||||
\&... cd ../..
|
───────────────────────────────────────────────────────────────────
|
||||||
\&.... cd ../../..
|
\&.. cd ..
|
||||||
\&..... cd ../../../..
|
\&... cd ../..
|
||||||
\&...... cd ../../../../..
|
\&.... cd ../../..
|
||||||
|
\&..... cd ../../../..
|
||||||
|
\&...... cd ../../../../..
|
||||||
|
dir dir --color=auto
|
||||||
|
vdir vdir --color=auto
|
||||||
|
grep grep --color=auto
|
||||||
|
fgrep fgrep --color=auto
|
||||||
|
egrep egrep --color=auto
|
||||||
|
cp cp -i
|
||||||
|
mv mv -i
|
||||||
|
tarnow tar -acf
|
||||||
|
untar tar -zxvf
|
||||||
|
tb nc termbin.com 9999
|
||||||
|
jctl journalctl -p 3 -xb
|
||||||
\f[R]
|
\f[R]
|
||||||
.fi
|
.fi
|
||||||
.SS Color Overrides
|
|
||||||
.PP
|
|
||||||
Force color output for common tools:
|
|
||||||
.IP
|
|
||||||
.nf
|
|
||||||
\f[C]
|
|
||||||
grep grep --color=auto
|
|
||||||
fgrep fgrep --color=auto
|
|
||||||
egrep egrep --color=auto
|
|
||||||
dir dir --color=auto
|
|
||||||
vdir vdir --color=auto
|
|
||||||
\f[R]
|
|
||||||
.fi
|
|
||||||
.SS Safety Wrappers
|
|
||||||
.PP
|
|
||||||
Add -i (interactive confirmation) to destructive commands:
|
|
||||||
.IP
|
|
||||||
.nf
|
|
||||||
\f[C]
|
|
||||||
cp cp -i
|
|
||||||
mv mv -i
|
|
||||||
\f[R]
|
|
||||||
.fi
|
|
||||||
.SS Archives and Networking
|
|
||||||
.IP
|
|
||||||
.nf
|
|
||||||
\f[C]
|
|
||||||
tarnow tar -acf Create compressed archive (auto-detects format)
|
|
||||||
untar tar -zxvf Extract a gzip-compressed archive
|
|
||||||
wget wget -c Resume interrupted downloads by default
|
|
||||||
tb nc termbin.com 9999 Pipe content to termbin.com for quick sharing
|
|
||||||
\f[R]
|
|
||||||
.fi
|
|
||||||
.SS System Logs
|
|
||||||
.IP
|
|
||||||
.nf
|
|
||||||
\f[C]
|
|
||||||
jctl journalctl -p 3 -xb Show priority-3 (error) journal entries
|
|
||||||
from the current boot
|
|
||||||
\f[R]
|
|
||||||
.fi
|
|
||||||
.PP
|
|
||||||
* * * * *
|
|
||||||
.SH 5. FUNCTIONS REFERENCE
|
.SH 5. FUNCTIONS REFERENCE
|
||||||
.SS 5.1 File and Directory
|
.SS 5.1 File and Directory
|
||||||
.SS cat
|
.SS cat
|
||||||
|
|||||||
Reference in New Issue
Block a user