Update init.lua Set the title of the console window to the filename.

This commit is contained in:
Kasper B. Graversen 2024-12-22 22:36:50 +01:00 committed by GitHub
parent de44f49101
commit 7aa23af48d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -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