plugins/telescope/zoxide: init

This commit is contained in:
Gaetan Lepage 2025-04-06 01:57:17 +02:00 committed by Gaétan Lepage
parent 5908b5a737
commit 380435c555
5 changed files with 112 additions and 0 deletions

View file

@ -10,5 +10,6 @@
./project.nix
./ui-select.nix
./undo.nix
./zoxide.nix
];
}

View file

@ -0,0 +1,21 @@
let
mkExtension = import ./_mk-extension.nix;
in
mkExtension {
name = "zoxide";
package = "telescope-zoxide";
settingsExample = {
prompt_title = "Zoxide Folder List";
mappings = {
"<C-b>" = {
keepinsert = true;
action.__raw = ''
function(selection)
file_browser.file_browser({ cwd = selection.path })
end
'';
};
};
};
}