Sort and Permute lines

by Vinzent
5
4
3
2
1
Score: 54/100

Description

The Sort and Permute lines plugin changes line order in the current file or in a selected range through editor commands instead of manual editing. It can sort lines alphabetically, sort them by line length, reverse the current order, or shuffle the selection. The plugin also handles headings as a separate case and can sort them while preserving parent headings, so nested sections stay attached to the right part of the note. You can run a command against the whole file when nothing is selected, or limit the change to highlighted text. The included demo shows these commands acting directly on note content.

Reviews

No reviews yet.

Stats

125
stars
68,113
downloads
10
forks
56
days
56
days
56
days
4
total PRs
0
open PRs
2
closed PRs
2
merged PRs
40
total issues
17
open issues
23
closed issues
11
commits

Latest Version

2 months ago

Changelog

README file from

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

Installing

From Obsidian

  1. Open settings -> Third party plugin
  2. Disable Safe mode
  3. Click Browse community plugins
  4. Search for "Sort and 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 restricted mode
  4. Enable Sort and Permute lines

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

Ko-fi

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Insert Heading Link
5 years ago by Signynt
Add a Link to a Heading.
Remember File State
5 years ago by Ludovic Chabant
A plugin for Obsidian that remembers cursor position, selection, scrolling, and more for each file.
Mark and Select
5 years ago by anselmwang
Lapel
4 years ago by Liam Cain
🤵 Dress up your editor. Obsidian plugin to show the heading level in the gutter.
Filename Emoji Remover
4 years ago by Yüksel Tolun
A simple plugin for the note taking app Obsidian that will rename your files to remove emojis in their names.
Heading Shifter
4 years ago by kasahala
Easily Shift and Change markdown headings.
Custom File Explorer sorting
4 years ago by SebastianMC
Take full control over the order and sorting of folders and notes in File Explorer in Obsidian
Todo sort
4 years ago by Ryan Gomba
A plugin for Obsidian that sorts todos within a note
Short Internal Links to Headings
4 years ago by Scott Moore
An Obsidian plugin to display short internal links.
Select current line
3 years ago by Gokul
Obsidian plugin to select the current line on 'Esc' button press.
Go To Heading
3 years ago by join
Quickly navigate between your document's headings in Obsidian
Sort Frontmatter
3 years ago by Kanzi
Sort frontmatter automatically
Enhanced tables
3 years ago by pistacchio
A plugin for Obsidian to add advanced controls (like sorting and filtering) to standard markup tables
Sticky Headings
2 years ago by Shen Shen
Smart HTML Select
2 years ago by Isaia Riva
An Obsidian plugin to insert a smart HTML select element into the editor
Headings in Explorer
2 years ago by Patrick Chiang
This Obsidian plugin makes headings first class concepts in the file explorer and consolidates navigation to a single panel.
Line Arrange
2 years ago by Chitwan Singh
Obsidian Plugin For Arranging Lines.
Heading Toggler
2 years ago by Lord Turmoil
Toggle heading levels in Obsidian
Paste URL into selection
6 years ago by Denis Olehov
Paste URLs into selected text "notion style"
Zoom
5 years ago by Viacheslav Slinko
Apply Patterns
5 years ago by Jacob Levernier
An Obsidian plugin for applying patterns of find and replace in succession.
Linter
5 years ago by Victor Tao
An Obsidian plugin that formats and styles your notes with a focus on configurability and extensibility.
Number Headings
5 years ago by Kevin Albrecht
Automatically number headings in a document in Obsidian
Editor Commands Remap
5 years ago by cactus5
Obsidian plugin to map hotkeys to editor commands
GridExplorer
2 years ago by Devon22
Browse note files in a grid view.
Tier List
2 years ago by Mox Alehin
Obsidian plugin for visual ranking and organizing content into customizable Tier Lists.
Heading Decorator
a year ago by dragonish
Implement displaying specific content around headings based on their levels.
Rename File to Selection
a year ago by Aava
Rename your file to the current text selection.
Better Heading Hierarchy
a year ago by rogerfan48
a Obsidian plugin that add guide lines to make the hierarchy of Markdown headings more visually clear
Heading Helper
a year ago by Siddhartha Khuntia
Sortable Tables
a year ago by filippov112
A plugin for Obsidian that adds the ability to interactively sort Markdown tables in preview mode.
Floating Headings
7 months ago by k0src
Displays a floating, collapsible outline of a note's headings on the right side of the editor. Expands on hover, click to navigate.
Negative Heading
6 months ago by Ashan Devine
Plugin for Adding Discord Style Negative Headings to Obsidian
Expand Selection
5 months ago by Alex Tait
Obsidian plugin to expand your editor selection to lines, sections (recursive), or the entire note
Feed Bases
4 months ago by edrickleong
Hotkeys++
3 months ago by argenos
Adds hotkeys to toggle todos, ordered/unordered lists and blockquotes in Obsidian
Flexplorer
3 months ago by kh4f
🗃️ Obsidian File Explorer Enhancer
Power Tables
a month ago by Power Plugins
Color, calculate, and sort Markdown tables in place: cell fills and text colors, live formulas that recalculate, and column sorting, all stored as plain Markdown.
Japanese Novel Ruby
a month ago by k-quels
Obsidian plugin for treat Japanese novel ruby
Heading View
22 days ago by 菅原ユリア