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

Expose API for extensions #6

Open
poetaman opened this issue Jun 24, 2021 · 0 comments
Open

Expose API for extensions #6

poetaman opened this issue Jun 24, 2021 · 0 comments

Comments

@poetaman
Copy link

I recently came across this plugin, and wonder if you can create/expose two functions for users?

function inputfilelist: Instead of loading buffer list, it will load the list of paths user provides. This way users can write their custom extensions using this your codebase, perhaps even other plugins.

function pathundercursor: When called, this will return the path under the cursor in the buffer tree explorer buffer.

As a sidenote, you could probably source the navigation code from https://github.com/mhinz/vim-tree, it has a navigation feature that keeps the cursor on the first character of directory/file name.

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

1 participant