DEVELOPMENT ENVIRONMENT

~liljamo/nvim-flake

199e5581a35e733003728f45204f45d7d3dad791 — Jonni Liljamo 5 months ago 5816886
feat: add zen-mode and twilight
2 files changed, 17 insertions(+), 0 deletions(-)

M config/plugins/default.nix
A config/plugins/zen-mode.nix
M config/plugins/default.nix => config/plugins/default.nix +1 -0
@@ 3,5 3,6 @@
    ./oil.nix
    ./telescope.nix
    ./which-key.nix
    ./zen-mode.nix
  ];
}

A config/plugins/zen-mode.nix => config/plugins/zen-mode.nix +16 -0
@@ 0,0 1,16 @@
{
  plugins.zen-mode = {
    enable = true;
  };
  plugins.twilight = {
    enable = true;
  };

  keymaps = [
    {
      action = "<cmd>ZenMode<cr>";
      key = "<leader>z";
      options.desc = "Toggle zen-mode and twilight";
    }
  ];
}