add on_attach to the gitsigns to get keymaps I need

This commit is contained in:
2025-08-28 14:30:35 +03:00
parent ca193e334a
commit 0ba639e806
2 changed files with 110 additions and 46 deletions

View File

@@ -17,53 +17,54 @@ return {
lightgray = '#504945',
inactivegray = '#7c6f64',
}
require('lualine').setup({
options = {
theme = {
normal = {
a = { bg = colors.yellow, fg = colors.black, gui = 'bold' },
b = { bg = colors.lightgray, fg = colors.white },
c = { bg = colors.darkgray, fg = colors.white },
},
insert = {
a = { bg = colors.blue, fg = colors.black, gui = 'bold' },
b = { bg = colors.lightgray, fg = colors.white },
c = { bg = colors.lightgray, fg = colors.white },
},
visual = {
a = { bg = colors.magenta, fg = colors.black, gui = 'bold' },
b = { bg = colors.lightgray, fg = colors.white },
c = { bg = colors.inactivegray, fg = colors.black },
},
replace = {
a = { bg = colors.red, fg = colors.black, gui = 'bold' },
b = { bg = colors.lightgray, fg = colors.white },
c = { bg = colors.black, fg = colors.white },
},
command = {
a = { bg = colors.green, fg = colors.black, gui = 'bold' },
b = { bg = colors.lightgray, fg = colors.white },
c = { bg = colors.inactivegray, fg = colors.black },
},
inactive = {
a = { bg = colors.darkgray, fg = colors.magenta, gui = 'bold' },
b = { bg = colors.darkgray, fg = colors.magenta },
c = { bg = colors.darkgray, fg = colors.magenta },
},
require('lualine').setup(
{
options = {
theme = {
normal = {
a = { bg = colors.yellow, fg = colors.black, gui = 'bold' },
b = { bg = colors.lightgray, fg = colors.white },
c = { bg = colors.darkgray, fg = colors.white },
},
insert = {
a = { bg = colors.blue, fg = colors.black, gui = 'bold' },
b = { bg = colors.lightgray, fg = colors.white },
c = { bg = colors.lightgray, fg = colors.white },
},
visual = {
a = { bg = colors.magenta, fg = colors.black, gui = 'bold' },
b = { bg = colors.lightgray, fg = colors.white },
c = { bg = colors.inactivegray, fg = colors.black },
},
replace = {
a = { bg = colors.red, fg = colors.black, gui = 'bold' },
b = { bg = colors.lightgray, fg = colors.white },
c = { bg = colors.black, fg = colors.white },
},
command = {
a = { bg = colors.green, fg = colors.black, gui = 'bold' },
b = { bg = colors.lightgray, fg = colors.white },
c = { bg = colors.inactivegray, fg = colors.black },
},
inactive = {
a = { bg = colors.darkgray, fg = colors.magenta, gui = 'bold' },
b = { bg = colors.darkgray, fg = colors.magenta },
c = { bg = colors.darkgray, fg = colors.magenta },
},
}
},
sections = {
lualine_c = {
{
'filename',
path = 1,
},
{
'navic',
},
}
}
},
sections = {
lualine_c = {
{
'filename',
path = 1,
},
{
'navic',
},
}
}
})
})
end
}