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

vidir can edit a piped in list of files #17

Open
purpleidea opened this issue Aug 30, 2017 · 3 comments
Open

vidir can edit a piped in list of files #17

purpleidea opened this issue Aug 30, 2017 · 3 comments

Comments

@purpleidea
Copy link

Bug Report Template

roamer version:

OS:

Python version:

Steps to reproduce (start with removing ~/.roamer-data):

@abaldwin88
Copy link
Owner

abaldwin88 commented Aug 30, 2017

vidir doesn't allow you to cut/copy/paste files. It does however allow you to edit a list of files inside subdirectories which I think is pretty nifty. I'm planning to implement that here in #11 .

Until #11 is completed I am leaving this issue open. I am renaming the title so that if people are looking for that particular feature they'll know where to find it.

@abaldwin88 abaldwin88 changed the title Just use VIDIR instead... I think it does what you want. vidir can edit a piped in list of files Aug 30, 2017
@purpleidea
Copy link
Author

purpleidea commented Aug 30, 2017 via email

@abaldwin88
Copy link
Owner

abaldwin88 commented Aug 30, 2017

Cheers 🍻

I don't believe "copying" would work cleanly with a line number approach. Wouldn't be able to handle the corner cases.

EDIT: I did find an updated vidir that implemented a copying feature within the same instance. It's well implemented and kudos to the author for how they used temporary files. https://github.com/trapd00r/vidir

Having said that I do like the option in roamer to copy between multiple sessions which simply will not be possible with a line number approach. Looking to the future a hash based approach should allow us to implement features like --undo or organizing a persisted directory file.

From a developer perspective hashing adds complexity but as a user I like having minified access to file path/versions.

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

No branches or pull requests

2 participants