Closed sayanarijit closed 1 year ago
The first already exists: https://github.com/elihunter173/dirbuf.nvim/blob/ac7ad3c8e61630d15af1f6266441984f54f54fd2/doc/dirbuf.txt#L110
The second is straightforward - use vim.keymap.set()
in after/ftplugin/dirbuf.lua
with buffer = true
. I don't think it needs a specific API. You can find an example in my config.
Nice. Thanks 👍
A simple API to get the hovered or selected paths (absolute) along with their IDs so that I can perform custom actions on them.
A simple API to bind the custom actions to key bindings when in the directory buffer.