add menu and lazygit
This commit is contained in:
25
lua/config/menu.lua
Normal file
25
lua/config/menu.lua
Normal file
@ -0,0 +1,25 @@
|
||||
local gitsigns = require("gitsigns")
|
||||
|
||||
return {
|
||||
{
|
||||
name = " Preview change",
|
||||
cmd = gitsigns.preview_hunk,
|
||||
-- rtxt = "",
|
||||
},
|
||||
|
||||
{
|
||||
name = " Rest change",
|
||||
cmd = gitsigns.reset_hunk,
|
||||
-- rtxt = "",
|
||||
},
|
||||
|
||||
{
|
||||
name = " Toggle blame",
|
||||
cmd = gitsigns.toggle_current_line_blame,
|
||||
},
|
||||
|
||||
{
|
||||
name = " Toggle delete",
|
||||
cmd = gitsigns.toggle_deleted,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user