Tweak font size

This commit is contained in:
Tyler Hallada 2023-12-01 15:26:03 -05:00
parent b220cc8ab1
commit d0b94849e2
2 changed files with 2 additions and 2 deletions

View File

@ -5,4 +5,4 @@ require('gui-font-resize').setup({
vim.keymap.set('n', '<D-Up>', [[<Cmd>GUIFontSizeUp<CR>]], { noremap = true, silent = true, desc = "Increase font size" }) vim.keymap.set('n', '<D-Up>', [[<Cmd>GUIFontSizeUp<CR>]], { noremap = true, silent = true, desc = "Increase font size" })
vim.keymap.set('n', '<D-Down>', [[<Cmd>GUIFontSizeDown<CR>]], { noremap = true, silent = true, desc = "Decrease font size" }) vim.keymap.set('n', '<D-Down>', [[<Cmd>GUIFontSizeDown<CR>]], { noremap = true, silent = true, desc = "Decrease font size" })
vim.keymap.set('n', '<D-0>', [[<Cmd>set guifont=Hack:h11 | GUIFontSizeSet<CR>]], { noremap = true, silent = true, desc = "Set font family and size to default" }) vim.keymap.set('n', '<D-0>', [[<Cmd>set guifont=Berkeley Mono Variable:h12 | GUIFontSizeSet<CR>]], { noremap = true, silent = true, desc = "Set font family and size to default" })

View File

@ -37,7 +37,7 @@ vim.opt.titlestring="%{substitute(getcwd(),$HOME,'~','')} - Neovide"
vim.g.mapleader = ' ' vim.g.mapleader = ' '
-- Fonts -- Fonts
vim.opt.guifont = 'Berkeley Mono Variable:h10' vim.opt.guifont = 'Berkeley Mono Variable:h12'
-- Swap / backup / undo -- Swap / backup / undo
vim.opt.undofile = true vim.opt.undofile = true