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

Saving parts of a document via (visual) marks and other line numbers does not work #428

Closed
MartinL0815 opened this issue Jan 27, 2011 · 2 comments

Comments

@MartinL0815
Copy link

In VIM it is possible to write only parts of a file to the same or another file:

:'<,'>w ...
:'a,'bw ...
:.,.+10w ...
:'<,'>w! ...

This does not work with VsVim.

VsVim saves the whole file, ignoring the given "addresses".

@MartinL0815
Copy link
Author

Thus ... VsVim would have to display an error message saving the part of a file to the same just buffered file, if not "w!" is used as command!

@jaredpar
Copy link
Collaborator

I'll try and get this in for 0.9.5. This should be a straight forward change to just make it work.

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