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

Add saveas command #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add saveas command #133

wants to merge 1 commit into from

Conversation

bynect
Copy link

@bynect bynect commented Jun 16, 2022

Solves #95 (actually the command is :saveas and not :sav).
Save view to disk and change its name.

MessageType::Info,
);
self.active_view_mut().file_status =
FileStatus::Saved(FileStorage::Single(Path::new(path).into()));
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seemed the most straightforward way to change the view file name, but maybe there is some better way?

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

Successfully merging this pull request may close these issues.

1 participant