|
I'm trying to use the files picker to open directories with something like: require'fzf-lua'.files{fd_opts = '--color=never --exclude .git --type d'}This in theory works. However, I'm using oil.nvim and when I select a directory with this picker, the resulting buffer is blank and broken in some weird ways. According to this comment, Oil is particular in the way it opens buffers. I noticed that instead of a simple Does anyone know of a quick workaround to override this opening method? Or maybe to map the selection to Oil URIs? I'd like to keep all the other conveniences of the files picker if possible. |
Replies: 1 comment 2 replies
Why don’t you override actions.enter with a function that performs |
Why don’t you override actions.enter with a function that performs
vim.cmd("edit ..")(instead of FzfLua.actions.file_edit)?