Skip to content

Commit

Permalink
remove lazygit
Browse files Browse the repository at this point in the history
  • Loading branch information
xiantang committed Oct 22, 2023
1 parent f015437 commit 6fc5e5f
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions lua/plugins/terminal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,6 @@ return {
require("toggleterm").setup({
direction = "float",
})
local Terminal = require("toggleterm.terminal").Terminal
local lazygit = Terminal:new({ cmd = "sudo lazygit", hidden = true })

function _lazygit_toggle()
lazygit:toggle()
end

vim.api.nvim_set_keymap(
"n",
"<leader>g",
"<cmd>lua _lazygit_toggle()<CR>",
{ noremap = true, silent = true }
)
end,
},
}

0 comments on commit 6fc5e5f

Please sign in to comment.