Skip to content

Is there a way to open MiniFiles focused on the current buffers file, but with the anchor as the current working directory? #872

Closed Answered by echasnovski
IndianBoy42 asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry, but I don't think there is a reasonable way to support that. The best compromise for this is the suggested MiniFiles.open(vim.api.nvim_buf_get_name(0)) approach but with @ mapping to reveal the current working directory.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@IndianBoy42
Comment options

@IndianBoy42
Comment options

@echasnovski
Comment options

Answer selected by echasnovski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants