Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please implement a command to filter text through a shell pipeline, bound to :! in vim mode #22885

Open
1 task done
yump opened this issue Jan 9, 2025 · 0 comments
Open
1 task done
Labels
enhancement [core label] vim

Comments

@yump
Copy link

yump commented Jan 9, 2025

Check for existing issues

  • Completed

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

@yump yump added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Jan 9, 2025
@JosephTLyons JosephTLyons added vim and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement [core label] vim
Projects
None yet
Development

No branches or pull requests

2 participants