switched out the lualine statusline with the mini one
This commit is contained in:
@@ -9,6 +9,7 @@ local theme = require('plugins.config.lualine.nord_theme')
|
|||||||
local opts = {
|
local opts = {
|
||||||
options = {
|
options = {
|
||||||
theme = theme.spec,
|
theme = theme.spec,
|
||||||
|
globalstatus = true,
|
||||||
component_separators = '|',
|
component_separators = '|',
|
||||||
section_separators = { left = ' ', right = ' ' },
|
section_separators = { left = ' ', right = ' ' },
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
return {
|
return {
|
||||||
'nvim-lualine/lualine.nvim',
|
'nvim-lualine/lualine.nvim',
|
||||||
event = "VeryLazy",
|
|
||||||
lazy = false,
|
lazy = false,
|
||||||
|
enabled = false,
|
||||||
config = function()
|
config = function()
|
||||||
local lualineConfig = require('plugins.config.lualine')
|
local lualineConfig = require('plugins.config.lualine')
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@ return {
|
|||||||
vim.defer_fn(function()
|
vim.defer_fn(function()
|
||||||
lualineConfig.setup()
|
lualineConfig.setup()
|
||||||
if os.getenv("TMUX") then
|
if os.getenv("TMUX") then
|
||||||
vim.o.laststatus = 2
|
vim.o.laststatus = 3
|
||||||
end
|
end
|
||||||
end, 100)
|
end, 100)
|
||||||
end,
|
end,
|
||||||
|
|||||||
7
homemanager/neovim/lua/plugins/spec/mini.statusline.lua
Normal file
7
homemanager/neovim/lua/plugins/spec/mini.statusline.lua
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
return {
|
||||||
|
'nvim-mini/mini.statusline',
|
||||||
|
version = '*',
|
||||||
|
config = function()
|
||||||
|
require('mini.statusline').setup()
|
||||||
|
end
|
||||||
|
}
|
||||||
@@ -29,8 +29,8 @@ in
|
|||||||
|
|
||||||
set -g focus-events on
|
set -g focus-events on
|
||||||
set -g status-style bg=default
|
set -g status-style bg=default
|
||||||
set -g status-right '#(cat #{socket_path}-\#{session_id}-vimbridge-R)'
|
set -g status-right ""
|
||||||
set -g status-left '#(cat #{socket_path}-\#{session_id}-vimbridge)'
|
set -g status-left ""
|
||||||
set -g status-left-length 99
|
set -g status-left-length 99
|
||||||
set -g status-right-length 99
|
set -g status-right-length 99
|
||||||
set -g status-justify absolute-centre
|
set -g status-justify absolute-centre
|
||||||
|
|||||||
Reference in New Issue
Block a user