telescope-zoxide
telescope-zoxide copied to clipboard
telescope-zoxide does not increment directories rank
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?