ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Archive Nested Lines

by holgerl ST4 New

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

Details

Installs

  • Total 0
  • Win 0
  • Mac 0
  • Linux 0
Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

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