diff --git a/help/commands.md b/help/commands.md new file mode 100644 index 0000000..718a1d9 --- /dev/null +++ b/help/commands.md @@ -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 | Quick jump to nested dir you've used before | +| n . | Open neovim with current dir | +| g | Git | +| compress | Compress named file/dir as tar.gz | +| decompress | Decompress tar.gz file | + diff --git a/help/hotkeys.md b/help/hotkeys.md new file mode 100644 index 0000000..a52f611 --- /dev/null +++ b/help/hotkeys.md @@ -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 |