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

:read opens the file instead of reading its content #86

Closed
Neo-Oli opened this issue Jan 23, 2018 · 1 comment
Closed

:read opens the file instead of reading its content #86

Neo-Oli opened this issue Jan 23, 2018 · 1 comment
Labels
Milestone

Comments

@Neo-Oli
Copy link

Neo-Oli commented Jan 23, 2018

If I open a file regular file and run :read to read in a gpg encrypted file, it reads in the content, but it also sets the file pointer to the encrypted file, so if I now save with :w it will save to test.gpg instead of test.txt.

vi test.txt
:read test.gpg
:w
-> test.gpg written
@Neo-Oli Neo-Oli changed the title :read opens the file instead of reading it's content :read opens the file instead of reading its content Jan 23, 2018
@jamessan jamessan added the bug label Jan 24, 2018
@jamessan jamessan added this to the 2.6.1 milestone Jan 24, 2018
@jamessan
Copy link
Owner

Thanks for the report! This, and another FileReadCmd issue, should be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants