require('gui-font-resize').setup({ default_size = 11.0, -- absolute size it will fallback to when :GUIFontSizeSet is not specified change_by = 1, -- step value that will inc/dec the fontsize by }) vim.keymap.set('n', '', [[GUIFontSizeUp]], { noremap = true, silent = true, desc = "Increase font size" }) vim.keymap.set('n', '', [[GUIFontSizeDown]], { noremap = true, silent = true, desc = "Decrease font size" }) vim.keymap.set('n', '', [[set guifont=Hack:h11 | GUIFontSizeSet]], { noremap = true, silent = true, desc = "Set font family and size to default" })