docs: fix abbreviations file ordering and capitalization for tests

This commit is contained in:
2026-08-06 16:07:08 -04:00
parent 204b13781d
commit e76668d3b1
13 changed files with 199 additions and 197 deletions
+185 -183
View File
@@ -362,38 +362,40 @@ are active in Insert, Normal, and Visual modes unless noted.
Abbreviations expand when you press Space or Enter. They are terminal-aware: Abbreviations expand when you press Space or Enter. They are terminal-aware:
some expand differently in Kitty vs WezTerm vs other terminals. some expand differently in Kitty vs WezTerm vs other terminals.
## 4.1 Editors ## 4.1 Editors
| Abbreviation | Description | Abbreviation Description
|---|---| ───────────────────────────────────────────────────────────────────
| `n` | nvim | n nvim
| `nv` | nvim | nv nvim
| `neovim` | nvim | neovim nvim
| `cdnv` | cd ~/.config/nvim | cdnv cd ~/.config/nvim
| `cdnvn` | cd ~/.config/nvim; nvim | cdnvn cd ~/.config/nvim; nvim
| `k` | kate | k kate
| `e` | edit | e edit
| `se` | sudoedit | se sudoedit
## 4.2 Navigation and Listing ## 4.2 Navigation and Listing
| Abbreviation | Description | Abbreviation Description
|---|---| ───────────────────────────────────────────────────────────────────
| `l` | ls | l ls
| `lS` | lss (sort by size) | lS lss (sort by size)
| `lsR` | lsr (sort by time, oldest first) | lsR lsr (sort by time, oldest first)
| `lX` | lx (sort by extension) | lX lx (sort by extension)
| `lT` | lt (tree, depth 2) | lT lt (tree, depth 2)
| `lsT` | lstree (full recursive tree) | lsT lstree (full recursive tree)
## 4.3 Git ## 4.3 Git
| Abbreviation | Description | Abbreviation Description
|---|---| ───────────────────────────────────────────────────────────────────
| `lg` | lazygit | lg lazygit
| `g` | git | g git
| `gitig` | generate .gitignore | gitig generate .gitignore
| `git-ignore` | generate .gitignore | git-ignore generate .gitignore
## 4.4 Terminal Windows, Tabs, and Panes ## 4.4 Terminal Windows, Tabs, and Panes
@@ -401,183 +403,183 @@ These abbreviations control the terminal emulator. Each has a Kitty
variant and a WezTerm variant; the correct one is inserted based on variant and a WezTerm variant; the correct one is inserted based on
`$TERM` or `$TERM_PROGRAM`. `$TERM` or `$TERM_PROGRAM`.
| Abbreviation | Description | Abbreviation Description
|---|---| ───────────────────────────────────────────────────────────────────
| `editt` | Open new tab with nvim (terminal-aware) | editt Open new tab with nvim (terminal-aware)
| `:q` | Close current pane/window | :q Close current pane/window
| `:Q` | Close current tab | :Q Close current tab
| `:w` | New OS window | :w New OS window
| `:wv` | Split pane horizontally (new pane below) | :wv Split pane horizontally (new pane below)
| `:wh` | Split pane vertically (new pane to the right) | :wh Split pane vertically (new pane to the right)
| `:wo` | Detach current window to its own OS window | :wo Detach current window to its own OS window
| `:wot` | Move current pane to a new tab | :wot Move current pane to a new tab
| `:t` | New tab | :t New tab
| `:tl` | Set tab title | :tl Set tab title
| `:tw` | Set window title | :tw Set window title
| `:twk` | Rename workspace (WezTerm only) | :twk Rename workspace (WezTerm only)
| `:tp` | Focus previous tab | :tp Focus previous tab
| `:tn` | Focus next tab | :tn Focus next tab
| `:tgk` | New tab at ~/.config/kitty | :tgk New tab at ~/.config/kitty
| `:tgn` | New tab at ~/.config/nvim | :tgn New tab at ~/.config/nvim
| `:tgf` | New tab at ~/.config/fish | :tgf New tab at ~/.config/fish
| `:tgh` | New tab at ~ | :tgh New tab at ~
| `:tgcz` | New tab at ~/.local/share/chezmoi | :tgcz New tab at ~/.local/share/chezmoi
| `:tgcm` | New tab at ~/.config/chezmoi | :tgcm New tab at ~/.config/chezmoi
| `:tgp` | New tab at ~/projects | :tgp New tab at ~/projects
| `:tgr` | New tab at / (root) | :tgr New tab at / (root)
| `:wgk` | New OS window at ~/.config/kitty | :wgk New OS window at ~/.config/kitty
| `:wgn` | New OS window at ~/.config/nvim | :wgn New OS window at ~/.config/nvim
| `:wgf` | New OS window at ~/.config/fish | :wgf New OS window at ~/.config/fish
| `:wgh` | New OS window at ~ | :wgh New OS window at ~
| `:wgzd` | New OS window at ~/.local/share/chezmoi | :wgzd New OS window at ~/.local/share/chezmoi
| `:wgcz` | New OS window at ~/.config/chezmoi | :wgcz New OS window at ~/.config/chezmoi
| `:wgp` | New OS window at ~/projects | :wgp New OS window at ~/projects
| `:wgr` | New OS window at / (root) | :wgr New OS window at / (root)
| `:wvgk` | Split bottom at ~/.config/kitty | :wvgk Split bottom at ~/.config/kitty
| `:wvgn` | Split bottom at ~/.config/nvim | :wvgn Split bottom at ~/.config/nvim
| `:wvgf` | Split bottom at ~/.config/fish | :wvgf Split bottom at ~/.config/fish
| `:wvgh` | Split bottom at ~ | :wvgh Split bottom at ~
| `:wvgcz` | Split bottom at ~/.local/share/chezmoi | :wvgcz Split bottom at ~/.local/share/chezmoi
| `:wvgcm` | Split bottom at ~/.config/chezmoi | :wvgcm Split bottom at ~/.config/chezmoi
| `:wvgp` | Split bottom at ~/projects | :wvgp Split bottom at ~/projects
| `:wvgr` | Split bottom at / (root) | :wvgr Split bottom at / (root)
| `:whgk` | Split right at ~/.config/kitty | :whgk Split right at ~/.config/kitty
| `:whgn` | Split right at ~/.config/nvim | :whgn Split right at ~/.config/nvim
| `:whgf` | Split right at ~/.config/fish | :whgf Split right at ~/.config/fish
| `:whgh` | Split right at ~ | :whgh Split right at ~
| `:whgcz` | Split right at ~/.local/share/chezmoi | :whgcz Split right at ~/.local/share/chezmoi
| `:whgcm` | Split right at ~/.config/chezmoi | :whgcm Split right at ~/.config/chezmoi
| `:whgp` | Split right at ~/projects | :whgp Split right at ~/projects
| `:whgr` | Split right at / (root) | :whgr Split right at / (root)
| `:cdk` | cd ~/.config/kitty | :cdk cd ~/.config/kitty
| `:cdkn` | cd ~/.config/kitty; nvim | :cdkn cd ~/.config/kitty; nvim
| `:cdn` | cd ~/.config/nvim | :cdn cd ~/.config/nvim
| `:cdnn` | cd ~/.config/nvim; nvim | :cdnn cd ~/.config/nvim; nvim
| `:cdf` | cd ~/.config/fish | :cdf cd ~/.config/fish
| `:cdfn` | cd ~/.config/fish; nvim | :cdfn cd ~/.config/fish; nvim
| `:cdh` | cd ~ | :cdh cd ~
| `:cdhn` | cd ~; nvim | :cdhn cd ~; nvim
| `:cdcz` | cd ~/.local/share/chezmoi | :cdcz cd ~/.local/share/chezmoi
| `:cdczn` | cd ~/.local/share/chezmoi; nvim | :cdczn cd ~/.local/share/chezmoi; nvim
| `:cdcm` | cd ~/.config/chezmoi | :cdcm cd ~/.config/chezmoi
| `:cdcmn` | cd ~/.config/chezmoi; nvim | :cdcmn cd ~/.config/chezmoi; nvim
| `:cdp` | cd ~/projects/... | :cdp cd ~/projects/...
| `:cdpn` | cd ~/projects; nvim | :cdpn cd ~/projects; nvim
| `:cdw` | cd ~/.config/wezterm | :cdw cd ~/.config/wezterm
| `:cdwn` | cd ~/.config/wezterm; nvim | :cdwn cd ~/.config/wezterm; nvim
| `:sw` | spwin (spawn new OS window) | :sw spwin (spawn new OS window)
## 4.5 Chezmoi ## 4.5 Chezmoi
| Abbreviation | Description | Abbreviation Description
|---|---| ───────────────────────────────────────────────────────────────────
| `cm` | chezmoi | cm chezmoi
| `cmcd` | chezmoi cd | cmcd chezmoi cd
| `czcd` | chezmoi cd | czcd chezmoi cd
| `cdcm` | chezmoi cd | cdcm chezmoi cd
| `cdcz` | chezmoi cd | cdcz chezmoi cd
| `cme` | chezmoi edit | cme chezmoi edit
| `cze` | chezmoi edit | cze chezmoi edit
| `cmad` | chezmoi add | cmad chezmoi add
| `czad` | chezmoi add | czad chezmoi add
| `cmap` | chezmoi apply | cmap chezmoi apply
| `czap` | chezmoi apply | czap chezmoi apply
| `cmrm` | chezmoi forget | cmrm chezmoi forget
| `cmf` | chezmoi forget | cmf chezmoi forget
| `czrm` | chezmoi forget | czrm chezmoi forget
| `czf` | chezmoi forget | czf chezmoi forget
| `cmi` | chezmoi init | cmi chezmoi init
| `czi` | chezmoi init | czi chezmoi init
## 4.6 Docker ## 4.6 Docker
| Abbreviation | Description | Abbreviation Description
|---|---| ───────────────────────────────────────────────────────────────────
| `dcl` | docker context use default | dcl docker context use default
| `lzd` | ld (lazydocker) | lzd ld (lazydocker)
| `dcls` | docker context ls | dcls docker context ls
## 4.7 Systemctl ## 4.7 Systemctl
| Abbreviation | Description | Abbreviation Description
|---|---| ───────────────────────────────────────────────────────────────────
| `sc` | systemctl | sc systemctl
| `ssc` | sudo systemctl | ssc sudo systemctl
| `scu` | systemctl --user | scu systemctl --user
| `st` | systemctl status | st systemctl status
| `scs` | systemctl start | scs systemctl start
| `scr` | systemctl restart | scr systemctl restart
| `ssct` | sudo systemctl status | ssct sudo systemctl status
| `sscs` | sudo systemctl start | sscs sudo systemctl start
| `sscr` | sudo systemctl restart | sscr sudo systemctl restart
## 4.8 AI Assistants ## 4.8 AI Assistants
| Abbreviation | Description | Abbreviation Description
|---|---| ───────────────────────────────────────────────────────────────────
| `v` | antigravity-ide | v antigravity-ide
| `s` | wezterm ssh (WezTerm only) | s wezterm ssh (WezTerm only)
| `ag` | agy | ag agy
| `ag.` | agy . | ag. agy .
## 4.9 Miscellaneous ## 4.9 History Expansion
| Abbreviation | Description |
|---|---|
| `sudu` | sudo -s |
| `kt` | kitty (Kitty only) |
| `c` | cat |
| `/exit` | exit |
| `speedtest-fast` | fast-cli |
| `bl` | bd list |
| `bs` | bd sync |
| `bC` | bd create --title |
| `bsh` | bd show |
| `lb` | lazybeads |
| `open-repo` | repo-open |
| `url-open` | open-url |
## 4.10 Shell Aliases
These aliases are defined in conf.d/tricks.fish via alias (which creates Fish
functions). They are active in all interactive sessions.
| Abbreviation | Description |
|---|---|
| `..` | 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 |
## 4.11 History Expansion
Bash-style history expansions trigger on Space or Enter. Some are implemented Bash-style history expansions trigger on Space or Enter. Some are implemented
as abbreviations (e.g. `!*`), while others (`!!`, `!$`, `!.`) are implemented as abbreviations (e.g. `!*`), while others (`!!`, `!$`, `!.`) are implemented
as keybindings, but they all serve the same purpose. as keybindings, but they all serve the same purpose.
| Abbreviation | Description | Abbreviation Description
|---|---| ───────────────────────────────────────────────────────────────────
| `!^` | Expand to the first argument of the previous command | !^ Expand to the first argument of the previous command
| `!*` | Expand to all arguments of the previous command | !* Expand to all arguments of the previous command
| `^old^new^` | Interactive typo substitution (replace 'old' with 'new' in previous command) | ^old^new^ Interactive typo substitution (replace 'old' with 'new' in previous command)
| `!string` | Expand to the most recent command starting with 'string' | !string Expand to the most recent command starting with 'string'
| `!?string?` | Expand to the most recent command containing 'string' | !?string? Expand to the most recent command containing 'string'
| `!-n` | Expand to the nth-previous command | !-n Expand to the nth-previous command
| `!!` | Expand to the previous command | !! Expand to the previous command
| `!$` | Expand to the last argument of the previous command | !$ Expand to the last argument of the previous command
| `!.` | Expand .. to ../.. and so on | !. Expand .. to ../.. and so on
## 4.10 Miscellaneous
Abbreviation Description
───────────────────────────────────────────────────────────────────
sudu sudo -s
kt kitty (Kitty only)
c cat
/exit exit
speedtest-fast fast-cli
bl bd list
bs bd sync
bC bd create --title
bsh bd show
lb lazybeads
open-repo repo-open
url-open open-url
## 4.11 Shell Aliases
These aliases are defined in conf.d/tricks.fish via alias (which creates Fish
functions). They are active in all interactive sessions.
Abbreviation Description
───────────────────────────────────────────────────────────────────
.. 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
# 5. FUNCTIONS REFERENCE # 5. FUNCTIONS REFERENCE
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
title: Editors title: Editors
manTitle: 4.1 EDITORS manTitle: 4.1 Editors
--- ---
<!-- GENERATED: Editors --> <!-- GENERATED: Editors -->
@@ -1,6 +1,6 @@
--- ---
title: Navigation and Listing title: Navigation and Listing
manTitle: 4.2 NAVIGATION AND LISTING manTitle: 4.2 Navigation and Listing
--- ---
<!-- GENERATED: Navigation and Listing --> <!-- GENERATED: Navigation and Listing -->
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
title: Git title: Git
manTitle: 4.3 GIT manTitle: 4.3 Git
--- ---
<!-- GENERATED: Git --> <!-- GENERATED: Git -->
@@ -1,6 +1,6 @@
--- ---
title: Terminal Windows, Tabs, and Panes title: Terminal Windows, Tabs, and Panes
manTitle: 4.4 TERMINAL WINDOWS, TABS, AND PANES manTitle: 4.4 Terminal Windows, Tabs, and Panes
--- ---
These abbreviations control the terminal emulator. Each has a Kitty These abbreviations control the terminal emulator. Each has a Kitty
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
title: Chezmoi title: Chezmoi
manTitle: 4.5 CHEZMOI manTitle: 4.5 Chezmoi
--- ---
<!-- GENERATED: Chezmoi --> <!-- GENERATED: Chezmoi -->
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
title: Docker title: Docker
manTitle: 4.6 DOCKER manTitle: 4.6 Docker
--- ---
<!-- GENERATED: Docker --> <!-- GENERATED: Docker -->
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
title: Systemctl title: Systemctl
manTitle: 4.7 SYSTEMCTL manTitle: 4.7 Systemctl
--- ---
<!-- GENERATED: Systemctl --> <!-- GENERATED: Systemctl -->
@@ -1,6 +1,6 @@
--- ---
title: AI Assistants title: AI Assistants
manTitle: 4.8 AI ASSISTANTS manTitle: 4.8 AI Assistants
--- ---
<!-- GENERATED: AI Assistants --> <!-- GENERATED: AI Assistants -->
@@ -1,6 +1,6 @@
--- ---
title: History Expansion title: History Expansion
manTitle: 4.11 HISTORY EXPANSION manTitle: 4.9 History Expansion
--- ---
Bash-style history expansions trigger on Space or Enter. Some are implemented Bash-style history expansions trigger on Space or Enter. Some are implemented
@@ -1,6 +1,6 @@
--- ---
title: Miscellaneous title: Miscellaneous
manTitle: 4.9 MISCELLANEOUS manTitle: 4.10 Miscellaneous
--- ---
<!-- GENERATED: Miscellaneous --> <!-- GENERATED: Miscellaneous -->
@@ -1,6 +1,6 @@
--- ---
title: Shell Aliases title: Shell Aliases
manTitle: 4.10 SHELL ALIASES manTitle: 4.11 Shell Aliases
--- ---
These aliases are defined in conf.d/tricks.fish via alias (which creates Fish These aliases are defined in conf.d/tricks.fish via alias (which creates Fish
+3 -3
View File
@@ -21,7 +21,7 @@ some expand differently in Kitty vs WezTerm vs other terminals.
<LinkCard title="Docker" href="/04-abbreviations/06-docker/" /> <LinkCard title="Docker" href="/04-abbreviations/06-docker/" />
<LinkCard title="Systemctl" href="/04-abbreviations/07-systemctl/" /> <LinkCard title="Systemctl" href="/04-abbreviations/07-systemctl/" />
<LinkCard title="AI Assistants" href="/04-abbreviations/08-ai-assistants/" /> <LinkCard title="AI Assistants" href="/04-abbreviations/08-ai-assistants/" />
<LinkCard title="Miscellaneous" href="/04-abbreviations/09-miscellaneous/" /> <LinkCard title="History Expansion" href="/04-abbreviations/09-history-expansion/" />
<LinkCard title="Shell Aliases" href="/04-abbreviations/10-shell-aliases/" /> <LinkCard title="Miscellaneous" href="/04-abbreviations/10-miscellaneous/" />
<LinkCard title="History Expansion" href="/04-abbreviations/11-history-expansion/" /> <LinkCard title="Shell Aliases" href="/04-abbreviations/11-shell-aliases/" />
</CardGrid> </CardGrid>