summaryrefslogtreecommitdiffstats
path: root/nixos/modules/nixvim/keymaps.nix
blob: e792ea05b25780abffa06e29f7f3d3c31390d9bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  programs.nixvim = {
    globals = {
      mapleader = "\\";
      maplocalleader = "\\";
    };

    keymaps = [
      {
        key = "<leader>n";
        action = "<cmd>Neotree<CR>";
      }
    ];
  };
}