Sort.Nvim
Description
Sorting plugin for Neovim that supports line-wise and delimiter sorting.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
🔠 sort.nvim
[](https://github.com/sQVe/sort.nvim/releases/latest) [](https://github.com/sQVe/sort.nvim/blob/main/LICENSE)
**Sort** is a Neovim plugin for intelligent line and delimiter sorting.
❓ Why
- Delimiter-aware sorting: Automatically detects and sorts by delimiters like commas, pipes, colons, and more.
- Natural sorting support: Handles strings with numbers naturally (e.g., "item1", "item2", "item10").
- Vim-compatible: Mirrors Neovim's built-in
:sortcommand functionality where applicable. - Motion-based operations: Provides text objects and motions for efficient sorting workflows.
📦 Installation
[lazy.nvim](https://github.com/folke/lazy.nvim)
{
'sQVe/sort.nvim',
config = function()
require('sort').setup({
-- Optional configuration overrides.
})
end,
}
⚙ Configuration
**Sort** comes with the following defaults:
{
-- Delimiter priority order.
delimiters = {
',',
'|',
';',
':',
's', -- Space.
't' -- Tab.
},
-- Natural sorting (default: true).
natural_sort = true,
-- Case-insensitive sorting (default: false).
ignore_case = false,
-- Remove duplicate items when sorting (default: false).
unique = false,
-- Whitespace alignment threshold.
whitespace = {
alignment_threshold = 3,
},
-- Default keymappings (set to false to disable).
mappings = {
operator = 'go',
textobject = {
inner = 'io',
around = 'ao',
},
motion = {
next_delimiter = ']o',
prev_delimiter = '[o',
},
},
}
📗 Usage
Command-based sorting
The `:Sort` command adapts its behavior based on your selection:
Multiple lines
When selecting multiple lines, all arguments are passed to Neovim's built-in `:sort` command:
:[range
Related Skills
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Development next.js
| The React Framework | 138360 | 1503 | 1 |
Development sharing-skills
skill for guidance.
Development root-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger.
Development Template Skill
Minimal skeleton for a new skill project structure.
Development Third-party Notices
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI
Development