Skip to content
Discussion options

You must be logged in to vote

I test a bit, I think it work well:

          ['enter'] = function(sel, o)
            local entry = require('fzf-lua.path').entry_to_file(sel[1], o, o._uri)
            local fullpath = entry.bufname or entry.uri and entry.uri:match("^%a+://(.*)") or entry.path
            vim.cmd(([[drop %s]]):format(fullpath))
          end,

Replies: 3 comments 14 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@ibhagwan
Comment options

@dominickng
Comment options

@ibhagwan
Comment options

@ibhagwan
Comment options

@dominickng
Comment options

Answer selected by dominickng
Comment options

You must be logged in to vote
8 replies
@ibhagwan
Comment options

@rajaravivarma-r
Comment options

@ibhagwan
Comment options

@rajaravivarma-r
Comment options

@rajaravivarma-r
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants