2023-11-07 00:50:27 +00:00
|
|
|
{lib, ...}: let
|
2024-03-12 00:46:46 +00:00
|
|
|
inherit (lib.options) mkEnableOption;
|
|
|
|
inherit (lib.nvim.binds) mkMappingOption;
|
2023-11-07 00:50:27 +00:00
|
|
|
in {
|
2023-02-27 19:29:01 +00:00
|
|
|
options.vim.minimap.codewindow = {
|
2023-06-05 20:10:25 +00:00
|
|
|
enable = mkEnableOption "codewindow plugin for minimap view";
|
2023-05-02 21:06:35 +00:00
|
|
|
|
|
|
|
mappings = {
|
|
|
|
open = mkMappingOption "Open minimap [codewindow]" "<leader>mo";
|
|
|
|
close = mkMappingOption "Close minimap [codewindow]" "<leader>mc";
|
|
|
|
toggle = mkMappingOption "Toggle minimap [codewindow]" "<leader>mm";
|
|
|
|
toggleFocus = mkMappingOption "Toggle minimap focus [codewindow]" "<leader>mf";
|
|
|
|
};
|
2023-02-27 19:29:01 +00:00
|
|
|
};
|
|
|
|
}
|