add options for neovide

This commit is contained in:
2024-03-05 01:06:37 +05:30
parent 81f450819c
commit a210975e26
4 changed files with 36 additions and 0 deletions

View File

@ -27,4 +27,23 @@ M.nvterm = {
},
}
if vim.g.neovide then
M.neovide = {
n = {
["<C-=>"] = {
function()
vim.g.neovide_scale_factor = vim.g.neovide_scale_factor + 0.1
end,
desc = "Zoom In (Neovide)",
},
["<C-->"] = {
function()
vim.g.neovide_scale_factor = vim.g.neovide_scale_factor - 0.1
end,
desc = "Zoom Out (Neovide)",
},
},
}
end
return M