Skip to content

Latest commit

 

History

History
63 lines (57 loc) · 2.98 KB

keys.md

File metadata and controls

63 lines (57 loc) · 2.98 KB

Keys

Main

Key Description
Enter Start/pause execution.
Esc Cancel execution.
s Save.
S Save as.
q Save and quit.
Q Quit without saving.
Comma (,) Switch to simpler view (character set).
Period (.) Switch to more complex view (character set).

Movement

Key Vim Key Description
Up Arrow k Move cursor up.
Down Arrow j Move cursor down.
Right Arrow l Move cursor right.
Left Arrow h Move cursor left.
Tab t Switch address space.
Shift-Tab T, z Go to instructions address.
Home ^ Go to beginning of word.
End $ Go to end of word.

Movement (Vim only)

Vim Key Description
g Go to first word.
G Go to last word.
e Go to end of current word, or end of next if already at end.
b Go to beginning of current word, or beginning of last if already at beginning.
w Go to beginning of next word.
a Go to fourth bit of a word (address part).

Manipulation

Key Vim Key Description
Space Flip bit.
Insert ] Insert blank word and move all following words one spot lower and update addresses.
Delete, Backspace x Delete word and copy to clipboard if not empty, or move all following words one spot higher if empty. All addresses get updated.
Page Up, Shift–Up Arrow K Switch current and preceding word. All addresses get updated.
Page Down, Shift–Down Arrow J Switch current and following word. All addresses get updated.
c y Copy word.
v p Paste word.
Shift–Right Arrow + Increase value of the word.
Shift–Left Arrow - Decrease value of the word.

Manipulation (Vim only)

Vim Key Description
f Switch current bit on, and move cursor one spot to the right.
d Switch current bit off, and move cursor one spot to the right.
o Move to next word and insert blank word. Move all following words one spot lower. All addresses get updated.
P Paste word and move all following words one spot lower. All addresses get updated.

Value insertion (works only on DATA)

Vim Key Description
i Inset character.
I Insert number.