Package Control

The Sublime Text package directory, reborn.

Archive Nested Lines

Sublime plugin that archives text lines to bottom of a file, while keeping indented nesting

OctSepAugJulJunMayAprMarFebJan Dec2025 NovOct 2026-W44 | installs: 1 | removals: 1 | upgrades: 0 2026-W44 | installs: 1 | removals: 1 | upgrades: 0 2026-W44 | installs: 1 | removals: 1 | upgrades: 0 024 WeeklyInstalls 024 WeeklyUpgrades 2026-10-28 | upgrades: 0 | 0 on that day 1.0.2 / 1.0.1 / ... 1.0.2 / 1.0.1 / 1.0.0
Installations: 1 in total
Installations minus removals
Upgrades

Links

Versions

1.0.2 (ST4000+) ·
2026-10-28 08:47

More
  • (ST4000+) 1.0.1 ·
    2026-10-28 08:46
  • 1.0.0 ·
    2026-10-28 08:46

Archive Nested Lines - The world's simplest productivity tool

Do you like using simple plain text files for your notes and todos? How about adding a quick command to your text editor to stash finished todos and notes to an archive?

This is a plugin for Sublime Text that archives text lines to the bottom of the file, while preserving nested headings and sublists.

No process, no tools and no special syntax, just one single searchable plain text file. The top part has text lines that are currently relevant, and the bottom part is an archive for reference.

Archive nested lines demo

Installation

Install with Package Control:

  1. Open the Command Palette (Cmd+Shift+P on macOS, Ctrl+Shift+P on Windows/Linux)
  2. Run Package Control: Install Package
  3. Select Archive Nested Lines

Usage

Place the cursor on a line (or select several lines) and run Archive Nested Lines from the Command Palette.

The line is moved to the bottom of the file together with its parent lines (the lines above it with less indentation). If the parents are already archived, the line is placed under the existing archived parents.

Add some empty lines between the archived ones and the rest, so it is easy to see what is what

Key binding

No key binding is set by default. To add one, open Preferences > Key Bindings and add for example:

[
    { "keys": ["super+y"], "command": "archive_nested_lines" }
]

Use ctrl+y instead of super+y on Windows/Linux, or any other key combination you prefer.

License

MIT

Results

Packages