Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

:pipe_ignore command #3947

Closed
aral opened this issue Sep 23, 2022 · 2 comments
Closed

:pipe_ignore command #3947

aral opened this issue Sep 23, 2022 · 2 comments
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements

Comments

@aral
Copy link
Contributor

aral commented Sep 23, 2022

Would be useful to have a :pipe_ignore command that’s the equivalent of Alt-| (pipe and ignore output).

e.g., I was playing around with supporting Ctrl+S for save in insert mode and the following works but, of course, I don’t want the output (nothing) replacing the current selection:

[keys.insert]
C-s = ["normal_mode", ":pipe sleep 0.1", ":write"]

So, the following would work (and update the dirty flag/indicator also):

[keys.insert]
C-s = ["normal_mode", ":pipe_ignore sleep 0.1", ":write"]
@aral aral added the C-enhancement Category: Improvements label Sep 23, 2022
@kirawi kirawi added the A-helix-term Area: Helix term improvements label Sep 23, 2022
@the-mikedavis
Copy link
Member

This might be better accomplished by #3247. A pipe doesn't feel like the right tool since this use-case doesn't need stdin or stdout.

@aral
Copy link
Contributor Author

aral commented Sep 23, 2022

Yeah, it’s a hack anyway :) Anything that delays it (to the next stack frame?)

@helix-editor helix-editor locked and limited conversation to collaborators Apr 8, 2024
@pascalkuthe pascalkuthe converted this issue into discussion #10263 Apr 8, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

3 participants