First Steps
This walkthrough covers the keys you need every day, using the default key bindings. Default Key Bindings lists all of them.
The Alt key on macOS
On macOS, the right Option key acts as Alt for orzma’s shortcuts, and the
left Option key keeps typing special characters. If your Mac has no right
Option key, as with a Japanese (JIS) keyboard, set
option_as_alt in your
configuration file (see Change a setting):
[keyboard]
option_as_alt = "left"
On Windows and Linux, either Alt key works, except AltGr on a keyboard
layout that has it.
Split the window
- Press
Alt+ito split the pane side by side, orAlt+oto split it top and bottom. The new pane becomes the active pane. - Press
Alt+h,Alt+j,Alt+k, orAlt+lto move to the pane on the left, below, above, or on the right. You can also click a pane. - Hold
Alt+Shift+H,J,K, orLto move a divider, or drag it with the mouse. - Press
Alt+pto close the active pane.
Panes and Tabs has the details.
Open a tab
A tab is a separate layout of panes, shown at the top of the window.
- Press
Alt+cto open a new tab. - Press
Alt+1to go back to the first one, orAlt+]andAlt+[to step through them. You can also click a tab. - Press
Alt+rto rename the tab on screen.
Copy text in vi mode
- Press
Alt+sto enter vi mode. - Move with
h,j,k, andl, pressvto start a selection, and move again to extend it. - Press
yto copy the selection and leave vi mode.
Vi Mode lists every motion.
Read a Markdown file
Run orzmd with a Markdown file:
orzmd README.md
orzmd shows the rendered file in the pane and updates it when the file is
saved. Press j and k to scroll, and q to quit. If your shell cannot find
orzmd, see Companion Apps to add it to your PATH.
Change a setting
orzma reads its configuration file when it starts. Unless you set
ORZMA_CONFIG or XDG_CONFIG_HOME, the file is ~/.config/orzma/config.toml
(%USERPROFILE%\.config\orzma\config.toml on Windows). Create the file, add
a setting, and restart orzma:
[font]
size = 14
If the setting has no effect, check that the file is where File location says; if orzma reports a problem with it, Validation explains how to see the reason. Configuration lists every setting, and Key Bindings explains how to change the shortcuts.