add lualine plugin

This commit is contained in:
2026-06-25 02:45:04 +02:00
parent 7c428386d8
commit 3b707ada11
6 changed files with 173 additions and 6 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ local function smart_buffer_switch(current)
local current_index = nil
for index, buffer in ipairs(buffers) do
if buffer.bufnr == current then
current_index = i
current_index = index
break
end
end
+5 -5
View File
@@ -62,7 +62,7 @@ vim.opt.pumborder = vim.g.ui.popupborder
vim.opt.splitbelow = true
vim.opt.splitright = true
-- hide mode, displayed in lualine
-- vim.opt.showmode = false
vim.opt.showmode = false
vim.opt.shortmess:append("S")
-- enable visual bell
vim.opt.visualbell = true
@@ -75,7 +75,7 @@ vim.opt.backspace = { "indent", "eol", "start" }
vim.opt.preserveindent = true
vim.opt.smartindent = true
vim.opt.breakindent = true
vim.opt.breakindentopt:append({ min = 20, shift = -2, sbr = ture, list = -1 })
vim.opt.breakindentopt:append({ min = 20, shift = -2, sbr = true, list = -1 })
-- tab settings
vim.opt.expandtab = false
vim.opt.shiftround = true
@@ -91,7 +91,7 @@ vim.opt.matchpairs:append({ "<:>" })
vim.opt.hlsearch = true
vim.opt.ignorecase = true
vim.opt.inccommand = split
vim.opt.inccommand = "split"
vim.opt.incsearch = true
vim.opt.smartcase = true
@@ -108,8 +108,8 @@ vim.opt.swapfile = true
-- Performance settings
vim.opt.updatetime = 1000
vim.opt.timeoutlen = 300
vim.opt.updatetime = 1000 -- after this idle time, write backup, swap files etc.
vim.opt.timeoutlen = 500 -- timeout to wait for key combinations to complete.
-- Mouse and Clipboard settings
+4
View File
@@ -66,5 +66,9 @@ vim.g.ui = {
sign_info = "I",
sign_hint = "H",
},
component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" },
window = "",
not_overline = "\u{0305}",
}
}