2024-08-24 23:04:20 -07:00
|
|
|
# Getting around REALLY FAST
|
2024-09-16 23:48:33 -07:00
|
|
|
{ pkgs, ... }:
|
2024-08-24 23:04:20 -07:00
|
|
|
{
|
2024-08-24 23:36:19 -07:00
|
|
|
plugins = {
|
2024-08-24 23:04:20 -07:00
|
|
|
telescope = {
|
|
|
|
enable = true;
|
|
|
|
extensions = {
|
|
|
|
ui-select = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
codeactions = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
media-files = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
filetypes = [
|
|
|
|
"png"
|
|
|
|
"webp"
|
|
|
|
"jpg"
|
|
|
|
"jpeg"
|
|
|
|
"mp4"
|
|
|
|
"svg"
|
|
|
|
"pdf"
|
|
|
|
"mov"
|
|
|
|
"mkv"
|
|
|
|
"avi"
|
|
|
|
];
|
|
|
|
find_cmd = "rg";
|
|
|
|
};
|
|
|
|
dependencies = {
|
|
|
|
imageMagick.enable = true;
|
|
|
|
pdftoppm.enable = true;
|
|
|
|
ffmpegthumbnailer.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-09-16 23:48:33 -07:00
|
|
|
oil = {
|
|
|
|
enable = true;
|
|
|
|
# because combinePlugins.enable = true, the collision of `doc` is
|
|
|
|
# unavoidable. this renames them.
|
|
|
|
package = pkgs.vimPlugins.oil-nvim.overrideAttrs (oldAttrs: {
|
|
|
|
postInstall =
|
|
|
|
(oldAttrs.postInstall or "")
|
|
|
|
+ ''
|
|
|
|
mv $out/doc/recipes.md $out/doc/oil_recipes.md
|
|
|
|
'';
|
|
|
|
});
|
2024-08-24 23:04:20 -07:00
|
|
|
};
|
|
|
|
harpoon = {
|
|
|
|
enable = true;
|
|
|
|
keymaps = {
|
|
|
|
addFile = "<Leader>hh";
|
|
|
|
cmdToggleQuickMenu = "<Leader>hm";
|
|
|
|
gotoTerminal = {
|
|
|
|
"1" = "<Leader>ht";
|
|
|
|
"2" = "<Leader>2";
|
|
|
|
"3" = "<Leader>3";
|
|
|
|
"4" = "<Leader>4";
|
|
|
|
};
|
|
|
|
navFile = {
|
|
|
|
"1" = "<Leader>ha";
|
|
|
|
"2" = "<Leader>hs";
|
|
|
|
"3" = "<Leader>hd";
|
|
|
|
"4" = "<Leader>hf";
|
|
|
|
};
|
|
|
|
navNext = "<Leader>h]";
|
|
|
|
navPrev = "<Leader>h[";
|
|
|
|
toggleQuickMenu = "<Leader>hk";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|