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