Open alezunino opened 4 months ago
Ty for your suggestion! I was a little absent lately due to ... Life. I just want to let everyone know will check all Open issues and PR's shortly.
I didn't notice this, I will add this after the last open PR is merged.
When using zoxide from the terminal, each time a directories is selected, its rank gets incremented. This does not occur when using telescope-zoxide because zoxide is used only for obtaining the list of directories, but it is not called on selection (telescope action). This is counterintuitive, since zoxide idea is to remember the most frequently used directories. This can by easily solved by calling:
vim.fn.system({ "zoxide", "add", selection.path })
in all actions. For example, the default action will become:
action = function(selection) vim.cmd.cd(selection.path) vim.fn.system({ "zoxide", "add", selection.path }) end,
Could you please add this fix to the plugin?