Add trouble keybindings and some cleanup

This commit is contained in:
Graham McMillan 2024-07-18 16:24:01 +02:00
parent 16ef6ff851
commit 3a9e7c1b6d
4 changed files with 45 additions and 39 deletions

View file

@ -1,51 +1,25 @@
-- return {
-- {
-- "nvim-lualine/lualine.nvim",
-- dependencies = {
-- 'nvim-tree/nvim-web-devicons',
-- },
-- config = function()
-- require("lualine").setup({
-- options = {
-- theme = "catppuccin",
-- icons_enabled = true,
-- section_separators = '',
-- component_separators = '',
-- },
-- sections = {
-- lualine_a = {
-- "mode",
-- "buffers",
-- },
-- lualine_c = {},
-- },
-- })
-- end,
-- },
-- }
return {
{
-- Set lualine as statusline
'nvim-lualine/lualine.nvim',
-- See `:help lualine.txt`
config = function()
require("lualine").setup({
require('lualine').setup {
options = {
icons_enabled = true,
theme = 'auto',
component_separators = '|',
--section_separators = { left = '', right = '' },
section_separators = { left = ' ', right = ' '},
section_separators = { left = ' ', right = ' ' },
},
sections = {
lualine_a = {
"mode",
"buffers",
'mode',
'buffers',
},
lualine_c = {},
}
})
end
},
}
end,
},
}