From 872fe99c314fa7ad5084673a38f8e09d4291d8a0 Mon Sep 17 00:00:00 2001 From: adam <56338480+adastx@users.noreply.github.com> Date: Thu, 6 Oct 2022 22:43:10 +0200 Subject: nvim: global statusline, winbar, cmdheight --- .config/nvim/lua/options.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to '.config/nvim/lua/options.lua') diff --git a/.config/nvim/lua/options.lua b/.config/nvim/lua/options.lua index 6e7c521..0b7e5a1 100644 --- a/.config/nvim/lua/options.lua +++ b/.config/nvim/lua/options.lua @@ -34,8 +34,18 @@ set.pumblend = 0 set.splitright = true set.splitbelow = true set.cursorline = true --- set.signcolumn = 'yes' +set.signcolumn = 'yes' set.title = true +set.ch = 0 +set.winbar = '%=%m %f' + +vim.cmd([[ +augroup CursorLine + au! + au VimEnter,WinEnter,BufWinEnter * setlocal cursorline + au WinLeave * setlocal nocursorline +augroup END +]]) -- Disable default vim plugins local disabled_built_ins = { -- cgit v1.2.3-70-g09d2