Skip to content

Commit

Permalink
feat: zoxide delete path
Browse files Browse the repository at this point in the history
  • Loading branch information
phanen committed Apr 29, 2024
1 parent 1a36261 commit a3b5a00
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lua/fzf-lua-overlay/providers/zoxide.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ M.opts = {
local path = selected[1]:match '/.+'
require('fzf-lua').live_grep_native { cwd = path }
end,
['ctrl-d'] = {
fn = function(selected)
local path = selected[1]:match '/.+'
vim.system { 'zoxide', 'remove', path }
end,
reload = true,
},
},
}

Expand Down

0 comments on commit a3b5a00

Please sign in to comment.