From 7aa23af48df17232f524f409497249b62d757e1b Mon Sep 17 00:00:00 2001 From: "Kasper B. Graversen" Date: Sun, 22 Dec 2024 22:36:50 +0100 Subject: [PATCH] Update init.lua Set the title of the console window to the filename. --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index ee8fbc99..f4908d21 100644 --- a/init.lua +++ b/init.lua @@ -107,6 +107,9 @@ vim.opt.number = true -- Enable mouse mode, can be useful for resizing splits for example! vim.opt.mouse = 'a' +-- Set the title of the console window to the filename. +vim.cmd 'set title' + -- Don't show the mode, since it's already in the status line vim.opt.showmode = false