774e7b2439
subrepo: subdir: "dotfiles/.vim/plugged/zoxide.vim" merged: "7add42b04" upstream: origin: "https://github.com/nanotee/zoxide.vim.git" branch: "master" commit: "7add42b04" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
9 lines
201 B
Lua
9 lines
201 B
Lua
local M = {}
|
|
|
|
function M.select(items, cd_command)
|
|
vim.ui.select(items, {prompt = 'Zoxide> '}, function(item)
|
|
vim.fn["zoxide#handle_select_result"](cd_command, item)
|
|
end)
|
|
end
|
|
|
|
return M
|