-
Notifications
You must be signed in to change notification settings - Fork 15
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
Move files to subfolders more easily? #34
Comments
Thanks! Always good to hear when people find a package helpful. I like this idea. We'd probably want to stick it behind a --flag so users could opt into this functionality. It wouldn't be terribly hard to implement but not super easy either. Would require a fair amount of changes to engine.py. I don't see myself having enough spare time for the foreseeable future to implement but will review/merge a PR. Regarding alternatives...
|
Thanks for the reply. Yes I anticipate the line-oriented nature of the tool would not be able to easily handle multi-line relationships. For now it's just good to have this enhancement request on record regardless of any time line. I did later find vidir which does (and doesn't) do exactly the functionality that yours provides. |
@sarnobat There is a rather simple solution to this. I am using neovim however I believe this works with standard vim.
Produces: Here you should be able to do everything you wish to :) |
I think you're right, thanks for going through the trouble of capturing the screenshot. I must confess I forgot exactly what my ideal use case was but I think this is something I should play with some more. |
The screenshot wasn't an issue :) I'm yet to find something I can't do with Neovim in regards to this functionality and therefore I didn't contribute to this project. However I believe the project is very interesting and a good option for those wanting to make their first contribution on GitHub! |
(This is more of a question / enhancement request than a bug)
I love this tool for deleting and renaming files and had dreamed it up almost exactly as it is before finding this.
The one missing thing for me to use this religiously is to easily move files to subfolders. I know you can use multiple terminals, but what would be ideal is to be able to move
dir1/file1.txt
todir1/dir2/file2.txt
in a single terminal (maybe using whitespace indentation,or just renaming with a slash in the name).Could you possibly:
Actually I noticed rename works as long as the target subdir
dir1/dir2
exists, which is great. It's still a bit much typing rather than just moving a line. Also, if the subdirdir1/dir2
doesn't exist, the file is lost. Ideally it should just reject the move.Great work and thank you regardless.
The text was updated successfully, but these errors were encountered: