Sort & Permute lines

approved

by Vinzent

Sort and Permute lines in whole file or selection.

118 stars53,780 downloadsUpdated 3y ago
View on GitHub

Sort and Permute lines

Features

  • Sort alphabetically
  • Sort by length of line
  • Reverse line order
  • Shuffle line order
  • Sort headings while preserving parents

How to use

You can either just call a command (via Ctrl + P (or Cmd + P on macOS)) and the whole file will be changed, or select text and then call a command to just change that range.

Demo

Compatibility

Custom plugins are only available for Obsidian v0.9.7+.

Installing

From Obsidian

  1. Open settings -> Third party plugin
  2. Disable Safe mode
  3. Click Browse community plugins
  4. Search for "Sort & Permute lines"
  5. Install it
  6. Activate it under Installed plugins

From GitHub

  1. Download the latest release
  2. Move manifest.json and main.js to <vault>/.obsidian/plugins/obsidian-sort-and-permute-lines
  3. Go to settings and disable safe mode
  4. Enable Sort & Permute lines

If you find this plugin useful and would like to support its development, you can support me on Ko-fi.

Ko-fi

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.