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 | c925fefe456a9819a511cf11ea64a54dc0956242 (patch) | |
| tree | 49aa09a0445ec2107b168e9956bafac75c747fae /init.lua | |
| parent | 550ba704b6d0fabd3ac0077c2c1067029c8a0264 (diff) | |
| download | nvim-config-c925fefe456a9819a511cf11ea64a54dc0956242.tar.gz nvim-config-c925fefe456a9819a511cf11ea64a54dc0956242.zip | |
misc(nvim): set winbar to show cwd and path
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |
