nix fmt
All checks were successful
/ check (push) Successful in 1m39s

This commit is contained in:
Oliver Davies 2025-07-10 22:55:59 +01:00
parent b32493780d
commit 6a87e455bd
16 changed files with 105 additions and 46 deletions

View file

@ -38,7 +38,7 @@
settings.flavour = "mocha";
};
diagnostic.settings = {
diagnostic.settings = {
signs = true;
underline = false;
update_in_insert = false;

View file

@ -31,7 +31,10 @@
{
action = "\"+y";
key = "<leader>y";
mode = ["n" "x"];
mode = [
"n"
"x"
];
}
{
@ -48,7 +51,10 @@
{
action = "<Esc>:w<CR>";
key = "<C-s>";
mode = ["i" "n"];
mode = [
"i"
"n"
];
}
{

View file

@ -5,8 +5,8 @@
keymaps = lib.mkIf config.plugins.fugitive.enable [
{
key = "<leader>gc";
action = "<cmd>Git commit<CR><C-w>K";
key = "<leader>gc";
action = "<cmd>Git commit<CR><C-w>K";
}
{

View file

@ -27,7 +27,10 @@
{
action = "<cmd>Gitsigns stage_hunk<CR>";
key = "<leader>hs";
mode = ["n" "v"];
mode = [
"n"
"v"
];
}
{

View file

@ -3,13 +3,13 @@
enable = true;
modules = {
ai = {};
align = {};
bracketed = {};
move = {};
operators = {};
splitjoin = {};
surround = {};
ai = { };
align = { };
bracketed = { };
move = { };
operators = { };
splitjoin = { };
surround = { };
};
};
}

View file

@ -15,6 +15,9 @@
};
keymaps = lib.mkIf config.plugins.oil.enable [
{ action = "<cmd>Oil<CR>"; key = "-"; }
{
action = "<cmd>Oil<CR>";
key = "-";
}
];
}

View file

@ -6,8 +6,8 @@
enableTelescope = true;
};
keymaps =
lib.mkIf config.plugins.refactoring.enable ([
keymaps = lib.mkIf config.plugins.refactoring.enable (
[
{
key = "<leader>ri";
action = "<cmd>Refactor inline_var<CR>";
@ -43,5 +43,6 @@
'';
options.silent = true;
}
]);
]
);
}

View file

@ -29,4 +29,3 @@
settings.pickers.find_files.hidden = true;
};
}

View file

@ -44,4 +44,3 @@
treesitter-textobjects.enable = true;
};
}

View file

@ -4,6 +4,9 @@
plugins.undotree.enable = true;
keymaps = lib.mkIf config.plugins.undotree.enable [
{ action = "<cmd>UndotreeToggle<CR>"; key = "<leader>u"; }
{
action = "<cmd>UndotreeToggle<CR>";
key = "<leader>u";
}
];
}

View file

@ -4,8 +4,17 @@
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>"; }
{
key = "<leader>tf";
action = "<cmd>TestFile<CR>";
}
{
key = "<leader>tl";
action = "<cmd>TestLast<CR>";
}
{
key = "<leader>tn";
action = "<cmd>TestNearest<CR>";
}
];
}