Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Keybindings

Modes

heretek has two input modes:

  • Normal mode — Navigation keys are active. This is the default.
  • Editing mode — Keyboard input goes to the command line.

Press i to enter editing mode. Press Esc to return to normal mode.

Global Keys

These work in any mode:

KeyAction
Ctrl+CInterrupt running program (sends -exec-interrupt)
F1F9Switch to corresponding tab
EnterSend command (editing) or repeat last command (normal)
Up / DownNavigate command history
Tab (editing)GDB tab completion
Tab (normal)Cycle to next tab

Normal Mode

KeyAction
iEnter editing mode
qOpen quit confirmation

Editing Mode

KeyAction
EscReturn to normal mode
TabGDB tab completion
EnterSend command to GDB

These vim-style keys work across scrollable views:

KeyAction
jScroll / move down 1
kScroll / move up 1
JScroll / move down 50
KScroll / move up 50
gJump to top
GJump to bottom

Note: g and G are available in Output, Mapping, Hexdump, Symbols, and Source views. Main and Register views only support j/k/J/K.

View-Specific Keys

Memory Mapping (F6)

KeyAction
HOpen selected mapping in Hexdump

Hexdump (F7)

KeyAction
HLoad heap into hexdump
TLoad stack into hexdump
SSave hexdump bytes to file

Symbols (F8)

KeyAction
/Activate fuzzy search
EnterDisassemble selected symbol
EscClose disassembly / cancel search
r / RRefresh symbol list

Command History

  • Up to 100 commands are stored in history
  • Up / Down arrows navigate through previous commands
  • Pressing Enter with an empty input repeats the last command

Tab Completion

In editing mode, press Tab to trigger GDB tab completion:

  • If one match: input is auto-completed
  • If multiple matches: candidates are listed above the input box