From 4c5d18d7e4c2c22ec6566f2335266aaf484578e1 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sun, 18 Feb 2024 10:24:46 +0100 Subject: [PATCH] nvim: Change lualine design Slightly adapt lualine to not have arrow section/component dividers, but simple slanted lines. Gets rid of a tiny bit of noise while still clearly subdividing the sections for me which I need. Also, removed displaying the hostname. I know which host I am on generally, and rarely make use of it so it's just unnecessary info for me. --- nvim/.config/nvim/lua/plugins/ui.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nvim/.config/nvim/lua/plugins/ui.lua b/nvim/.config/nvim/lua/plugins/ui.lua index b624b8c..479e256 100644 --- a/nvim/.config/nvim/lua/plugins/ui.lua +++ b/nvim/.config/nvim/lua/plugins/ui.lua @@ -7,8 +7,8 @@ return { options = { icons_enabled = true, theme = "auto", - component_separators = { left = "", right = "" }, - section_separators = { left = "", right = "" }, + component_separators = { left = "", right = "" }, + section_separators = { left = "", right = "" }, disabled_filetypes = {}, always_divide_middle = true, }, @@ -17,8 +17,8 @@ return { lualine_b = { "branch", "diff", "diagnostics" }, lualine_c = { "filename" }, lualine_x = { "encoding", "fileformat", "filetype" }, - lualine_y = { "progress", "location" }, - lualine_z = { "hostname" }, + lualine_y = { "progress" }, + lualine_z = { "location" }, }, inactive_sections = { lualine_a = {}, @@ -51,7 +51,7 @@ return { { "stevearc/dressing.nvim", config = true, event = "VeryLazy" }, -- numbers to absolute for all buffers but the current which is relative - { "jeffkreeftmeijer/vim-numbertoggle", event = "BufEnter" }, + { "jeffkreeftmeijer/vim-numbertoggle", event = "InsertEnter" }, -- auto-hiding colorcolumn { "m4xshen/smartcolumn.nvim",