this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 99713eddf3a39d4f4b07b0cf7878393202ffccdf 24 lines 617 B view raw
1local Terminal = require("toggleterm.terminal").Terminal 2 3-- Create a lazygit fullscreen terminal 4local lazygit = Terminal:new({ 5 cmd = "lazygit", 6 direction = "float", -- This can use "horizontal" or "vertical" if float doesn't fill 7 float_opts = { 8 border = "none", -- or single/double if you prefer 9 width = function() 10 return vim.o.columns 11 end, -- full width 12 height = function() 13 return vim.o.lines 14 end, -- full height 15 }, 16 -- adjust other options as needed 17 hidden = true, 18}) 19 20function _LAZYGIT_TOGGLE() 21 lazygit:toggle() 22end 23 24vim.cmd("command! LazyGit lua _LAZYGIT_TOGGLE()")