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

x ,|sort X ,|sort #1222

Open
no-e-in opened this issue Dec 20, 2024 · 1 comment
Open

x ,|sort X ,|sort #1222

no-e-in opened this issue Dec 20, 2024 · 1 comment

Comments

@no-e-in
Copy link

no-e-in commented Dec 20, 2024

Problem

In a file:

aaa 123
bbbbb 789
cc 12
zzz 342
ttttt 24242
gggggg 345

Steps to reproduce

if:
x ,|sort

conflicting changes

if:
X ,|sort

aaa 123
bbbbb 789
cc 12
gggggg 345
ttttt 24242
zzz 342

Why does x ,|sort generate error?

vis version (vis -v)

vis v0.9-git +curses

Terminal name/version

No response

$TERM environment variable

bash: xterm-256color:

@rnpnr rnpnr closed this as completed Jan 2, 2025
@rnpnr rnpnr reopened this Jan 2, 2025
@rnpnr
Copy link
Collaborator

rnpnr commented Jan 2, 2025

X ,|sort means run ,|sort on every open window. x,|sort means for each line in the current window run ,|sort; this is not possible since each line would modify the file making the next , invalid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants