Initial commit: homelab infrastructure wiki
- Full Obsidian vault content - Host configs (ice, grizzley, ubuntu, proxmox, truenas, panda, hyte) - Media stack documentation - Traefik HA setup - Automation scripts - Bachelor party planning
This commit is contained in:
78
homelab/raw/articles/forge/reference/docs-shortcuts.md
Normal file
78
homelab/raw/articles/forge/reference/docs-shortcuts.md
Normal file
@@ -0,0 +1,78 @@
|
||||
---
|
||||
type: agent-doc
|
||||
agent: ForgeCode
|
||||
source: https://forgecode.dev/docs/shortcuts/
|
||||
scraped: 2026-04-28T21:02:37.614869+00:00
|
||||
content_hash: 241ba0ba
|
||||
---
|
||||
# Shortcuts
|
||||
|
||||
These shortcuts are built into ZSH — ForgeCode doesn't add or modify them. They work in any ZSH session, not just when using ForgeCode.
|
||||
|
||||
ZSH uses Emacs keybindings by default. If you prefer Vi mode, add bindkey -v to your ~/.zshrc.
|
||||
|
||||
Run forge zsh keyboard at any time to print this reference in your terminal. For the full reference, see the official ZSH Line Editor documentation.
|
||||
|
||||
## Navigation
|
||||
|
||||
| Shortcut | Action |
|
||||
|---|---|
|
||||
| Ctrl+A | Move to beginning of line |
|
||||
| Ctrl+E | Move to end of line |
|
||||
| Option+F | Move forward one word |
|
||||
| Option+B | Move backward one word |
|
||||
|
||||
## Editing
|
||||
|
||||
| Shortcut | Action |
|
||||
|---|---|
|
||||
| Ctrl+U | Kill line before cursor |
|
||||
| Ctrl+K | Kill line after cursor |
|
||||
| Ctrl+W | Kill word before cursor |
|
||||
| Option+D | Kill word after cursor |
|
||||
| Ctrl+Y | Yank (paste) killed text |
|
||||
| Ctrl+_ | Undo last edit |
|
||||
|
||||
## History
|
||||
|
||||
| Shortcut | Action |
|
||||
|---|---|
|
||||
| Ctrl+R | Search command history backward |
|
||||
| Ctrl+S | Search command history forward |
|
||||
| Ctrl+P / ↑ | Previous command |
|
||||
| Ctrl+N / ↓ | Next command |
|
||||
| Option+< | Move to first history entry |
|
||||
| Option+> | Move to last history entry |
|
||||
|
||||
## Other
|
||||
|
||||
| Shortcut | Action |
|
||||
|---|---|
|
||||
| Ctrl+L | Clear screen |
|
||||
| Ctrl+C | Cancel current command |
|
||||
| Ctrl+Z | Suspend current command |
|
||||
| Tab | Complete command/path |
|
||||
|
||||
If Option key shortcuts aren't working, run forge zsh doctor — the most common cause is a terminal that isn't passing the Option key through correctly.
|
||||
|
||||
## Reference
|
||||
|
||||
ZSH exposes the full set of bindings and editor actions directly from the shell.
|
||||
|
||||
List all current key bindings:
|
||||
|
||||
```
|
||||
bindkey
|
||||
```
|
||||
|
||||
List all available editor actions:
|
||||
|
||||
```
|
||||
zle -al
|
||||
```
|
||||
|
||||
List bindings for a specific keymap (e.g. Emacs):
|
||||
|
||||
```
|
||||
bindkey -M emacs
|
||||
```
|
||||
Reference in New Issue
Block a user