diff options
Diffstat (limited to 'lua/alpha/neovide.lua')
| -rw-r--r-- | lua/alpha/neovide.lua | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/lua/alpha/neovide.lua b/lua/alpha/neovide.lua deleted file mode 100644 index 1e419d3..0000000 --- a/lua/alpha/neovide.lua +++ /dev/null @@ -1,29 +0,0 @@ -local default_font = "VictorMono Nerd Font:b" -local default_size = 14; - -vim.g.neovide_transparency = 0.9 -vim.g.neovide_hide_mouse_when_typing = true - -local function set_font(font, size) - font = font or default_font - size = size or default_size - - vim.o.guifont = string.format("%s:h%d", font, size) -end - -set_font() - -local maps = { - f0 = 14, - f1 = 15, - f2 = 16, - f3 = 18, - f4 = 20, - f5 = 22, -} - -for key, value in pairs(maps) do - vim.keymap.set("n", "<leader>" .. key, function () - set_font(nil, value) - end) -end |