{lib, ...}: let inherit (lib.options) mkEnableOption; inherit (lib.nvim.binds) mkMappingOption; in { options.vim.tabline.cokeline = { enable = mkEnableOption "cokeline"; mappings = { cycleNext = mkMappingOption "Next buffer" ""; cyclePrevious = mkMappingOption "Previous buffer" ""; pick = mkMappingOption "Pick buffer" "bc"; switchNext = mkMappingOption "Switch with next buffer" "bmn"; switchPrevious = mkMappingOption "Move previous buffer" "bmp"; closeByLetter = mkMappingOption "Close buffer by letter" "bd"; }; }; }