-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Adding support for tab drop #26
Comments
I write some code like: -------------------- FZF FUNCTIONS -------------------------
local function jump(entries)
...
-- A FZF action was used
if opts.fzf_action[key] then
if opts.fzf_action[key] == 'tab drop' then
for _, buf_info in ipairs(vim.fn.getbufinfo()) do
local uri = vim.uri_from_bufnr(buf_info.bufnr)
if uri == locations[1]['uri'] then
cmd('tab drop ' .. buf_info.name)
break
end
end
else
cmd(opts.fzf_action[key])
end
end
...
end It's ugly but works fine for me, could you add option(like |
|
Thank you so much, it works great! |
ojroques
pushed a commit
that referenced
this issue
Dec 27, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I like your plugin, and it's very useful.
I found
fzf
can jump to the window/tab where the buffer is open(set['ctrl-t'] = 'tab drop'
), cannvim-lspfuzzy
do this?The text was updated successfully, but these errors were encountered: