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

The "I don't know how to use vim" way #281

Open
c3d opened this issue Jun 20, 2024 · 0 comments
Open

The "I don't know how to use vim" way #281

c3d opened this issue Jun 20, 2024 · 0 comments

Comments

@c3d
Copy link

c3d commented Jun 20, 2024

A simple way to quit vim is to use it in a way that is not supported, e.g. when the input is not a terminal:

% echo die | vim
Vim: Warning: Input is not from a terminal
Vim: Error reading input, exiting...
Vim: Finished.

You can improve that passing the -T option, where you see the familiar interface open before vim exits, e.g. echo die | vim -T vt200.

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

1 participant