Flatten modules
This commit is contained in:
parent
ab5ae74dda
commit
d1a58fec56
86 changed files with 64 additions and 50 deletions
20
modules/home-manager/neovim/config/plugins/vim-test.nix
Normal file
20
modules/home-manager/neovim/config/plugins/vim-test.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
plugins.vim-test.enable = true;
|
||||
|
||||
keymaps = lib.mkIf config.plugins.vim-test.enable [
|
||||
{
|
||||
key = "<leader>tf";
|
||||
action = "<cmd>TestFile<CR>";
|
||||
}
|
||||
{
|
||||
key = "<leader>tl";
|
||||
action = "<cmd>TestLast<CR>";
|
||||
}
|
||||
{
|
||||
key = "<leader>tn";
|
||||
action = "<cmd>TestNearest<CR>";
|
||||
}
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue