From 56357acccfd396729e8c7954b524d1e341178061 Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Thu, 30 Mar 2023 15:33:57 +0200 Subject: [PATCH] changed titlestring to cwd --- lua/config/options.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/config/options.lua b/lua/config/options.lua index 98d726d..88c622c 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -60,7 +60,7 @@ opt.completeopt = 'menu,menuone,noselect' opt.expandtab = true opt.smartindent = true opt.title = true -opt.titlestring = '%{getcwd()} - %t' +opt.titlestring='%(%{fnamemodify(getcwd(),\":t\")}%)' opt.laststatus = 3 -- for lualine -- go to previous/next line with h,l,left arrow and right arrow