mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-03 09:36:10 +02:00
plugins/misc: adapt to new maps options
This commit is contained in:
parent
574fb73258
commit
dd6a114e52
18 changed files with 262 additions and 193 deletions
|
@ -140,6 +140,12 @@
|
|||
};
|
||||
|
||||
"71" = {
|
||||
maps.normal."<leader>hb" = "<cmd>lua require('gitsigns').blame_line{full=true}<cr>";
|
||||
keymaps = [
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>hb";
|
||||
action = "<cmd>lua require('gitsigns').blame_line{full=true}<cr>";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -38,9 +38,13 @@
|
|||
{
|
||||
key = ",";
|
||||
action = "<cmd>echo \"test\"<cr>";
|
||||
}
|
||||
{
|
||||
mode = ["n" "s"];
|
||||
};
|
||||
};
|
||||
key = "<C-p>";
|
||||
action = "<cmd>echo \"test\"<cr>";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
mkMaps = {
|
||||
|
|
|
@ -87,6 +87,6 @@
|
|||
};
|
||||
};
|
||||
# Simple mapping with only Description
|
||||
maps.normal."ff".desc = "Test";
|
||||
maps.byMode.normal."ff".options.desc = "Test";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue