mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-02 00:54:48 +02:00
modules/commands: allow creation of user commands (#366)
This commit is contained in:
parent
c7cc1167b9
commit
74bd7ee77e
2 changed files with 71 additions and 0 deletions
10
tests/test-sources/modules/commands.nix
Normal file
10
tests/test-sources/modules/commands.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
example = {
|
||||
userCommands = {
|
||||
"W" = {
|
||||
command = ":w<CR>";
|
||||
desc = "Write file";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue