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

marks for quick directory tree traversal #572

Closed
2 tasks done
tthkbw opened this issue Nov 19, 2023 · 3 comments
Closed
2 tasks done

marks for quick directory tree traversal #572

tthkbw opened this issue Nov 19, 2023 · 3 comments
Labels

Comments

@tthkbw
Copy link

tthkbw commented Nov 19, 2023

Contributing guidelines

Module(s)

mini.files

Description

I am test driving mini.files to replace Vifm as my neovim file manager. I have futzed around a bit and now having it working quite well with a couple of mappings I found in these pages.

However, one feature I am missing is marks. That is, the ability to mark a directory location with 'ma' and go to that mark with 'a. This is particularly useful if the marks can be persistent between invocations of neovim--so allowing configuration of marks associated with directories in the .setup().

Any possibility for this feature?

@tthkbw tthkbw added the feature-request Feature request label Nov 19, 2023
@echasnovski
Copy link
Owner

Thanks for the suggestion!

I don't think adding marks in 'mini.files' will be done, mostly because it would require substantial addition to the code.

At the moment I am working on a new module which will allow creating persistent sets of labelled files and directories. This might be a better fit for this workflow. It won't be exactly the same as you describe, but close.

I'll think about this in the meantime.

@tthkbw
Copy link
Author

tthkbw commented Nov 19, 2023

Thanks for the quick reply! I look forward to your future work on mini.files.

Your work is valuable to the neovim community and I really appreciate it. It won't be long until I have a 'pure' Mini neovim init.lua.

@echasnovski
Copy link
Owner

So 'mini.visits' is a released thing now. It has the functionality to persistently add labels to paths and later reuse them. I think this will be the recommended way of utilizing the suggested "marks" workflow.

Closing as not planned (for 'mini.files').

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