install.fairie/dotfiles/.vim/plugged/zoxide.vim/lua/zoxide-vim.lua
Git E2E Dev Test Username 774e7b2439 git subrepo clone https://github.com/nanotee/zoxide.vim.git ./dotfiles/.vim/plugged/zoxide.vim
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:   "???"
2022-10-18 10:37:35 -04:00

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