add after files
This commit is contained in:
parent
693e7c3053
commit
dd052a01e9
11 changed files with 140 additions and 0 deletions
6
after/plugin/toggleterm.lua
Normal file
6
after/plugin/toggleterm.lua
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
local Terminal = require('toggleterm.terminal').Terminal
|
||||
local lazygit = Terminal:new({ cmd = 'lazygit', hidden = true })
|
||||
|
||||
vim.keymap.set('n', '<leader>g', function()
|
||||
lazygit:toggle()
|
||||
end, { noremap = true, silent = true, desc = 'Toggle lazygit' })
|
||||
Loading…
Add table
Add a link
Reference in a new issue