WIP: Switch to NixOS #5
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
|||
local g = vim.g
|
||||
local o = vim.o
|
||||
|
||||
-- Change scale factor with C= and C-
|
||||
-- Change scale factor with C+ and C-
|
||||
g.neovide_scale_factor = {{@@ scale_factor|default(1.0) @@}}
|
||||
local change_scale_factor = function(delta)
|
||||
g.neovide_scale_factor = g.neovide_scale_factor * delta
|
||||
end
|
||||
vim.keymap.set("n", "<C-=>", function()
|
||||
vim.keymap.set("n", "<C-+>", function()
|
||||
change_scale_factor(1.25)
|
||||
end)
|
||||
vim.keymap.set("n", "<C-->", function()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue