This commit is contained in:
Saeed Afzal
2024-10-11 21:09:25 +01:00
parent 97cb8d4758
commit cc11fa6f88
2 changed files with 10 additions and 0 deletions

View File

@@ -21,3 +21,7 @@ map("n", "<leader>h", ":noh<CR>")
-- Replace (visual)
map("v", "<leader>r", "\"hy:%s/<C-r>h//g<left><left>")
-- Neovide
map("n", "<C-+>", ":lua vim.g.neovide_scale_factor = math.min(vim.g.neovide_scale_factor + 0.1, 1.0)<CR>")
map("n", "<C-_>", ":lua vim.g.neovide_scale_factor = math.max(vim.g.neovide_scale_factor - 0.1, 0.1)<CR>")