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

How do you close all unchanged Files? #3

Open
whitten opened this issue Jan 27, 2020 · 2 comments
Open

How do you close all unchanged Files? #3

whitten opened this issue Jan 27, 2020 · 2 comments

Comments

@whitten
Copy link

whitten commented Jan 27, 2020

I inadvertently said joe * in a directory with many many files.
Joe opened them and gave me a small window to edit each.
Since I intended to edit only one file, and it was near the top,
I then spent quite a while typing ^K-Q repeatedly as a new window
moved to the top of the screen for yet-another file that I hadn't changed
and didn't want to change by accident.

Is there something else I could have done?

I couldn't figure out how to find this in the documentation.
I did take a bit of time reading some of it, but clearly it was
faster to just slog through all the windows.

@ianmcgowan
Copy link

I've done this, and if it's just a few dozen files open just hold down Ctrl-C to "Abort". If it were a few thousand I'd be tempted to tab over to another session and kill the joe process.

@whitten
Copy link
Author

whitten commented Jan 29, 2020

As I said, I slogged through CNTL-K CNTL-Q for several hundred windows.
Do I understand that there is no other action I could have taken?
How do I know I won't break anything by killing the joe process?

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