neovim updates
This commit is contained in:
parent
57c3bb3e61
commit
308bdbebf9
10 changed files with 102 additions and 47 deletions
|
|
@ -1,4 +1,5 @@
|
|||
{...}: {
|
||||
{ ... }:
|
||||
{
|
||||
programs.nixvim = {
|
||||
plugins.toggleterm = {
|
||||
enable = true;
|
||||
|
|
@ -35,23 +36,6 @@
|
|||
silent = true;
|
||||
};
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>gg";
|
||||
action.__raw =
|
||||
# lua
|
||||
''
|
||||
function()
|
||||
local toggleterm = require('toggleterm.terminal')
|
||||
|
||||
toggleterm.Terminal:new({cmd = 'lazygit',hidden = true}):toggle()
|
||||
end
|
||||
'';
|
||||
options = {
|
||||
desc = "Open Lazygit";
|
||||
silent = true;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue