Flesh out general help, not tool focused

This commit is contained in:
David Heinemeier Hansson 2024-05-27 16:46:25 -07:00
parent 712bd61075
commit a7d96dc25d
2 changed files with 89 additions and 0 deletions

17
help/commands.md Normal file
View File

@ -0,0 +1,17 @@
# Commands
Omakub installs a host of modern commands that improve on the Linux stables. You should eventually read up on all eza, fzf, zoxide, bat has to offer.But here are the most important ways.
| Command | Function |
| ------------------------ | ------------------------------- |
| lt | Show nested files and directories |
| ff | Fuzzy find files from current dir |
| .. | Go up one directory from current |
| ... | Go up two directories from current |
| .... | Go up three directories from current |
| z <dir> | Quick jump to nested dir you've used before |
| n . | Open neovim with current dir |
| g | Git |
| compress <file/dir> | Compress named file/dir as tar.gz |
| decompress <file> | Decompress tar.gz file |

72
help/hotkeys.md Normal file
View File

@ -0,0 +1,72 @@
# Hotkeys
The joy of Linux flows from the keyboard. Training yourself to navigate and command as much of the operating system through hotkeys is the path to mastery of your machine.
## Navigating
| Hotkey | Function |
| --------------- | -------------------- |
| Super + Space | Type app to launch |
| Super + W | Close app |
| Super + 1/2/3/4 | Jump to workspace |
| Alt + 1/2/3/.. | Jump to dock app |
| Ctrl + 1/2/3/.. | Jump to browser tab |
## Tiling
| Hotkey | Function |
| ------------------- | --------------------------- |
| F11 | Go full screen |
| Shift + F11 | Go full screen w/ title bar |
| Super + Left arrow | Fill left half |
| Super + Right arrow | Fill right half |
| Super + Up arrow | Fill full screen |
| Super + T | Tiling overlay |
| Super + T W S | Fill center vertical |
| Super + T Q A | Fill left vertical |
| Super + T E D | Fill right vertical |
| Super + T Q Q | Fill upper left |
| Super + T A A | Fill lower left |
## Terminal
| Hotkey | Function |
| ------------------- | --------------------------- |
| Ctrl + P N | New vertical pane |
| Ctrl + P D | New horizontal pane |
| Alt + Arrow | Navigate panes (and tabs) |
| Alt + = | Expand pane |
| Alt + - | Shrink pane |
| Ctrl + T N | New tab |
| Ctrl + T R | Rename tab |
| Ctrl + O D | Suspend session |
| Ctrl + S | Scroll mode (use pgup/down) |
| Ctrl + R | Reveal command history |
## Neovim (w/ lazyvim)
### Navigation
| Hotkey | Function |
| ------------------------ | ------------------------------- |
| Space | Show command options |
| Space Space | Open file via fuzzy search |
| Space E | Toggle sidebar |
| Space G G | Show git controls |
| Space S G | Search file content |
| Ctrl + W W | Jump between sidebar and editor |
| Ctrl + Left/right arrow | Change size of sidebar |
| [ B | Go to left file tab |
| ] B | Go to right file tab |
| Space B D | Close file tab |
### While in sidebar
| Hotkey | Function |
| ------------------------ | ------------------------------- |
| A | Add new file in parent dir |
| Shift + A | Add new subdir in parent dir |
| D | Delete highlighted file/dir |
| M | Move highlighted file/dir |
| R | Rename highlighted file/dir |
| ? | Show help for all commands |