Run the preview-tag pop command
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2Run the preview-tag pop command.
Tag state
- Main window tag stack
empty- Remembered preview tag
Second
Vim messages
Empty
Command entered · ready to apply
Tag state
- Main window tag stack
empty- Remembered preview tag
Second
Vim messages
Empty
Pinned Vim 9.2.1341 reports E555 and leaves both windows unchanged. Previous preview-tag jumps do not create a return stack for this command.
Tag state
- Main window tag stack
empty- Remembered preview tag
Second
Vim messages
E555: At bottom of tag stack
Before & after
Before
Tag state
- Main window tag stack
empty- Remembered preview tag
Second
Vim messages
Empty
After
Tag state
- Main window tag stack
empty- Remembered preview tag
Second
Vim messages
E555: At bottom of tag stack
Subject: :ppop. Documentation-backed illustration; assumes +quickfix; main.vim is active with an empty normal tag stack; successful :ptag First then :ptag Second have left Second in the existing preview; previewheight=12, previewpopup empty, nosplitbelow and splitkeep=cursor; clean English 80-column by 24-line terminal, cmdheight=4, unmapped keys, no pending input or interfering callbacks; not replay-verified. Pinned Vim 9.2.1341 reports E555 and leaves both windows unchanged. Previous preview-tag jumps do not create a return stack for this command.
call Paint()Cursor on line 1, column 1Details & Vim help
Run the preview-tag pop command. This Ex reference uses the full command name; the alphabetical index omits arguments. Supply the ranges, arguments, flags and prerequisite state documented in the linked help. Press Enter to submit a complete command. The index spelling :pp[op] puts the optional abbreviation suffix in square brackets; those brackets are not typed. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative. Help describes popping in the preview window. In pinned Vim 9.2.1341, this command instead reads the current window's normal tag stack. With this example's previewheight=12, an empty current stack and a remembered preview tag, it reports E555 and leaves the preview unchanged, as this example shows.