refactor home-manager
This commit is contained in:
parent
a48829bbe6
commit
caed1fc0d4
31 changed files with 243 additions and 270 deletions
60
home-manager/sajenim/features/nvim/config/lua/plugins/ui.lua
Normal file
60
home-manager/sajenim/features/nvim/config/lua/plugins/ui.lua
Normal file
|
@ -0,0 +1,60 @@
|
|||
return {
|
||||
--
|
||||
-- File explorer
|
||||
--
|
||||
|
||||
{
|
||||
'nvim-neo-tree/neo-tree.nvim',
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
'nvim-tree/nvim-web-devicons',
|
||||
'MunifTanjim/nui.nvim',
|
||||
},
|
||||
keys = {
|
||||
{ '\\', '<cmd>Neotree reveal<cr>', desc = 'Neotree' },
|
||||
},
|
||||
opts = {
|
||||
close_if_last_window = true,
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
--
|
||||
-- Statusline
|
||||
--
|
||||
|
||||
{
|
||||
'nvim-lualine/lualine.nvim',
|
||||
event = 'VeryLazy',
|
||||
dependencies = {
|
||||
'nvim-tree/nvim-web-devicons',
|
||||
},
|
||||
config = function()
|
||||
require('lualine').setup {
|
||||
options = {
|
||||
icons_enabled = true,
|
||||
theme = 'gruvbox-material',
|
||||
component_separators = { left = '', right = ''},
|
||||
section_separators = { left = '', right = ''},
|
||||
globalstatus = true,
|
||||
extensions = {
|
||||
'neotree'
|
||||
},
|
||||
}
|
||||
}
|
||||
end,
|
||||
},
|
||||
|
||||
|
||||
--
|
||||
-- Git decorations
|
||||
--
|
||||
|
||||
{
|
||||
'lewis6991/gitsigns.nvim',
|
||||
config = function()
|
||||
require('gitsigns').setup()
|
||||
end
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue