diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-05-22 13:14:15 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-05-22 13:40:39 +0200 |
| commit | 9a1990d73f8942e0e2280ba215d052f622211b3b (patch) | |
| tree | c73d91802ae9e20bd9950cb1cd071940b00d6df9 /.config/nvim/init.lua | |
| parent | 1fb329fc26bfe119dd48b99dba300af87048a132 (diff) | |
| download | dotfiles-9a1990d73f8942e0e2280ba215d052f622211b3b.tar.gz dotfiles-9a1990d73f8942e0e2280ba215d052f622211b3b.zip | |
misc(nvim): set winbar to show cwd and path
Diffstat (limited to '.config/nvim/init.lua')
| -rw-r--r-- | .config/nvim/init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 7ffe81f..5c40077 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -174,6 +174,7 @@ vim.opt.conceallevel = 2 -- Hide text with the "conceal" syntax attribute vim.opt.showtabline = 2 -- Always show tabline vim.opt.list = true -- Display <Tab> and other non-printables vim.opt.winborder = "rounded" -- Rounded outline for floating windows +vim.o.winbar = "%#WinBarCwd#%{fnamemodify(getcwd(),':~')}%* | %#WinBarFile#%f%*" vim.opt.listchars = { -- Characters used by 'list' tab = "> ", -- Tab trail = "-", -- Trailing space |
