Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/cqb13/line-length-sorter.nvim
- Owner: cqb13
- License: mit
- Created: 2024-09-16T15:00:56.000Z (11 days ago)
- Default Branch: main
- Last Pushed: 2024-09-17T03:19:16.000Z (10 days ago)
- Last Synced: 2024-09-23T03:04:23.836Z (4 days ago)
- Topics: neovim, neovim-plugin
- Language: Lua
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.