diff options
| author | triethyl <triethylammonium@pm.me> | 2025-07-12 22:23:30 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-07-12 22:23:30 -0400 |
| commit | fd886e18472da2884ea6c593aecfbfc7bc658cbf (patch) | |
| tree | 9c73269099050294d1f3b9f0eecf62b6d99591f5 /pkgs/custom-neovim/config/lua/neovide.lua | |
| parent | 93291a3f4f2db070e9470fd9780b2b15ad893e17 (diff) | |
working on custom nvim
Former-commit-id: 7eeb50b4c2b95b3d917b37a3a6f0b98ed7b0d077
Diffstat (limited to 'pkgs/custom-neovim/config/lua/neovide.lua')
| -rw-r--r-- | pkgs/custom-neovim/config/lua/neovide.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/custom-neovim/config/lua/neovide.lua b/pkgs/custom-neovim/config/lua/neovide.lua index 0476765..dc804fc 100644 --- a/pkgs/custom-neovim/config/lua/neovide.lua +++ b/pkgs/custom-neovim/config/lua/neovide.lua @@ -1,16 +1,17 @@ if vim.g.neovide then +-- if false then vim.o.guifont = "CodeNewRoman Nerd Font:h12" - vim.g.neovide_scale_factor = 0.8 + -- vim.g.neovide_scale_factor = 0.8 -- Zoom keymaps. local change_scale_factor = function(delta) - vim.g.neovide_scale_factor = vim.g.neovide_scale_factor * delta + vim.g.neovide_scale_factor = vim.g.neovide_scale_factor + delta end vim.keymap.set("n", "<C-=>", function() - change_scale_factor(1.1) + change_scale_factor(1) end) vim.keymap.set("n", "<C-->", function() - change_scale_factor(1/1.1) + change_scale_factor(-1) end) -- Standard terminal emulator keymaps. |
