Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cqb13/line-length-sorter.nvim

A Neovim plugin for sorting lines of text by length, either from longest to shortest or shortest to longest. Ideal for cleaning up and organizing your text or code.
https://github.com/cqb13/line-length-sorter.nvim

neovim neovim-plugin

Last synced: about 19 hours ago
JSON representation

A Neovim plugin for sorting lines of text by length, either from longest to shortest or shortest to longest. Ideal for cleaning up and organizing your text or code.

Awesome Lists containing this project

README

        

# Line Length Sorter

A Neovim plugin for sorting lines of text by length, either from longest to shortest or shortest to longest. Ideal for cleaning up and organizing your text or code.

https://github.com/user-attachments/assets/21828cfa-4a89-4435-9cd3-3f2862aee88b

## Features

- Sort lines of text by length in visual mode.
- Commands to sort from longest to shortest or shortest to longest.

## Commands

- `:SortLongestToShortest` - Sort lines in the current visual selection from longest to shortest.
- `:SortShortestToLongest` - Sort lines in the current visual selection from shortest to longest.