25 lines
714 B
Lua
25 lines
714 B
Lua
--$ Ward's lua-init-config for nvim
|
|
--$ nvim setup stuff
|
|
require("ward.setup")
|
|
|
|
--$ standard remapping of keys
|
|
require("ward.remap")
|
|
|
|
--$ instal/load Lazy plugin manager
|
|
require("ward.lazy")
|
|
|
|
--$ Neovide configuration if used
|
|
if vim.g.neovide then
|
|
vim.g.neovide_opacity = 0.85
|
|
vim.g.neovide_window_blurred = true
|
|
-- vim.o.guifont = "Source Code Pro:h12"
|
|
vim.g.neovide_underline_stroke_scale = 1.5
|
|
|
|
-- Increase/Decrease scale factor
|
|
local change_scale_factor = function(delta)
|
|
vim.g.neovide_scale_factor = vim.g.neovide_scale_factor * delta
|
|
end
|
|
vim.keymap.set("n", "<C-+>", function() change_scale_factor(1.25) end)
|
|
vim.keymap.set("n", "<C-->", function() change_scale_factor(1/1.25) end)
|
|
end
|