mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-08 12:35:59 +01:00
18 lines
623 B
Nix
18 lines
623 B
Nix
|
{lib, ...}: let
|
||
|
inherit (lib.options) mkEnableOption;
|
||
|
inherit (lib.nvim.binds) mkMappingOption;
|
||
|
in {
|
||
|
options.vim.tabline.cokeline = {
|
||
|
enable = mkEnableOption "cokeline";
|
||
|
|
||
|
mappings = {
|
||
|
cycleNext = mkMappingOption "Next buffer" "<Tab>";
|
||
|
cyclePrevious = mkMappingOption "Previous buffer" "<S-Tab>";
|
||
|
pick = mkMappingOption "Pick buffer" "<leader>bc";
|
||
|
switchNext = mkMappingOption "Switch with next buffer" "<leader>bmn";
|
||
|
switchPrevious = mkMappingOption "Move previous buffer" "<leader>bmp";
|
||
|
closeByLetter = mkMappingOption "Close buffer by letter" "<leader>bd";
|
||
|
};
|
||
|
};
|
||
|
}
|