mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-05 04:51:14 +00:00
15 lines
509 B
Nix
15 lines
509 B
Nix
{lib, ...}: let
|
|
inherit (lib) mkEnableOption mkMappingOption;
|
|
in {
|
|
options.vim.minimap.codewindow = {
|
|
enable = mkEnableOption "codewindow plugin for minimap view";
|
|
|
|
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";
|
|
};
|
|
};
|
|
}
|