Skip to content

Commit 7aa23af

Browse files
authored
Update init.lua Set the title of the console window to the filename.
1 parent de44f49 commit 7aa23af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

init.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ vim.opt.number = true
107107
-- Enable mouse mode, can be useful for resizing splits for example!
108108
vim.opt.mouse = 'a'
109109

110+
-- Set the title of the console window to the filename.
111+
vim.cmd 'set title'
112+
110113
-- Don't show the mode, since it's already in the status line
111114
vim.opt.showmode = false
112115

0 commit comments

Comments
 (0)