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

Terminal borked when piping content to Vim #4

Closed
mickael-menu opened this issue Feb 28, 2021 · 0 comments
Closed

Terminal borked when piping content to Vim #4

mickael-menu opened this issue Feb 28, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@mickael-menu
Copy link
Member

When setting vim for the editor, the terminal is borked after creating a note with a piped input:

$ echo borking | zk new
Vim: Warning: Input is not from a terminal

This works fine with Neovim though (editor = nvim).

Most likely caused by spawning Vim with the same stdin as zk. Could be fixed by running Vim with vim file </dev/tty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant