nvf/modules/minimap/codewindow/codewindow.nix

14 lines
471 B
Nix
Raw Permalink Normal View History

2023-05-02 21:06:35 +00:00
{lib, ...}:
with lib; {
options.vim.minimap.codewindow = {
enable = mkEnableOption "Enable 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";
};
};
}