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

nvr and -stdin- #28

Closed
r3lgar opened this issue Nov 28, 2016 · 4 comments
Closed

nvr and -stdin- #28

r3lgar opened this issue Nov 28, 2016 · 4 comments

Comments

@r3lgar
Copy link

r3lgar commented Nov 28, 2016

nvr don't recognize the - argument as stdin and open buffer named - without catch stdin.

Reproduce:

 % > echo "1234" | nvim -o -
Nvim: Reading from stdin...
"-stdin-" 1L, 5C"-stdin-" 1L, 5C

OK, we have new unnamed split with stdin 1234.

% > echo "1234" | nvr -o -
% >

In alredy opened nvim we have new empty split named -.

mhinz added a commit that referenced this issue Nov 28, 2016
@mhinz mhinz added the solved? label Nov 28, 2016
@mhinz
Copy link
Owner

mhinz commented Nov 28, 2016

Please pip3 install -U neovim-remote and see if it works for you.

@r3lgar
Copy link
Author

r3lgar commented Nov 28, 2016

Excellent! Works fine. Thank you.

Please can you add this to -p too?

@mhinz
Copy link
Owner

mhinz commented Nov 28, 2016

Please update and try again.

All flags (including --remote and friends) understand "-" as reading from STDIN now.

@r3lgar
Copy link
Author

r3lgar commented Nov 28, 2016

Works as expected. Many thanks.

@r3lgar r3lgar closed this as completed Nov 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants