Skip to content

Expose API for extensions #6

@poetaman

Description

@poetaman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions