init
This commit is contained in:
commit
1e2ca5a6fc
71 changed files with 3330 additions and 0 deletions
21
config/plugins/fugitive.nix
Normal file
21
config/plugins/fugitive.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
plugins = {
|
||||
fugitive = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
keymaps = [
|
||||
{
|
||||
mode = [ "n" ];
|
||||
key = "<leader>git";
|
||||
action.__raw = ''function() vim.cmd('Git') end '';
|
||||
options.desc = "[fujitive] Git";
|
||||
}
|
||||
{
|
||||
mode = [ "n" ];
|
||||
key = "<leader>G";
|
||||
action.__raw = ''function() vim.api.nvim_feedkeys(':Git ', 'n', true) end '';
|
||||
options.desc = "[fujitive] :Git";
|
||||
}
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue