2023-11-07 01:50:27 +01:00
|
|
|
{lib, ...}: let
|
2024-03-12 01:46:46 +01:00
|
|
|
inherit (lib.options) mkEnableOption;
|
|
|
|
inherit (lib.nvim.binds) mkMappingOption;
|
2023-11-07 01:50:27 +01:00
|
|
|
in {
|
2023-02-27 20:29:01 +01:00
|
|
|
options.vim.minimap.codewindow = {
|
2023-06-05 22:10:25 +02:00
|
|
|
enable = mkEnableOption "codewindow plugin for minimap view";
|
2023-05-02 23:06:35 +02: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 20:29:01 +01:00
|
|
|
};
|
|
|
|
}
|