You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Vim, you can select some lines, then enter (for example) :! sort -t\| -nk 5,5 to sort a markdown table on the fourth column interpreted as decimal numeric value.
(I prefer this over Vim's builtin :sort because it has fancy features like interpreting version numbers and SI prefixes, and sorting on fields without working out an arcane regex to select them. Also, I only have to remember one set of arguments for my editor and for shell scripting. I'm sure there are other uses for filtering through external commands, but they don't occur to me at the moment.)
Check for existing issues
Describe the feature
In Vim, you can select some lines, then enter (for example)
:! sort -t\| -nk 5,5
to sort a markdown table on the fourth column interpreted as decimal numeric value.(I prefer this over Vim's builtin
:sort
because it has fancy features like interpreting version numbers and SI prefixes, and sorting on fields without working out an arcane regex to select them. Also, I only have to remember one set of arguments for my editor and for shell scripting. I'm sure there are other uses for filtering through external commands, but they don't occur to me at the moment.)Zed Version and System Specs
Zed: v0.167.1 (Zed)
OS: Linux Wayland fedora 41
Memory: 23 GiB
Architecture: x86_64
GPU: Intel(R) HD Graphics 4600 (HSW GT2) || Intel open-source Mesa driver || Mesa 24.2.8
If applicable, add mockups / screenshots to help present your vision of the feature
No response
The text was updated successfully, but these errors were encountered: