Inspect and Leave
By the end of this chapter, you will have operated on checked inventory marks and left the editor through explicit unsaved-work decisions.
Ctrl-X Ctrl-B opens a non-text inventory in either profile, including Insert.
Up/Down only highlight: they do not activate another buffer or change MRU order.
Enter activates the highlighted buffer; q returns to the previous live
presentation. Page Up/Down expose complete escaped labels even in a small window.
Use s to mark Save, d to mark Close, u to remove a mark and x to execute.
At most eight unique buffers can be marked. Remove an existing mark before
changing its intent. The ordinary Save, Close and read-only commands also act
on the highlighted row. A first Save shows the actual marked target in its path
prompt, even when the highlight is elsewhere.
Saves run in captured order. If a later request fails or is cancelled, earlier published files remain saved. The inventory distinguishes completed, pending, active and failed/uncertain results; retry skips completed Saves. A changed or closed target can invalidate a pending mark: unmark and capture it again after inspecting the buffer.
Close marks resolve all dirty decisions before closing any member. A cancelled
or failed required Save leaves every member live. Successful final-buffer close
creates a fresh *scratch* buffer. Individual Ctrl-X k behaves as follows:
- A clean buffer closes directly.
- An associated modified buffer asks
yto discard ornto cancel; save it first to keep edits. - An unassociated modified buffer offers
sSave,ddiscard orccancel.
Ctrl-Q requests ordinary exit in nonmodal; Ctrl-X Ctrl-C does so in modal. Exit offers Save/Discard/Cancel for every dirty buffer in MRU order. Cancelling any decision keeps all buffers open; earlier completed Saves remain real files. An uncertain required Save also leaves the workflow open for inspection. Ctrl-G cancels a pending interaction or lifecycle decision.
EOF or handled termination restores owned resources but cannot infer your Save or discard choice; the result explicitly reports unsaved memory loss. Saving persists text files. It does not persist a restartable session, undo history or buffer inventory.
See the reference for limits and failure outcomes and the how-to for repeatable commands.
Previous: Keep Several Buffers | Part | User Guide | Next: Search and Navigation