Move neovide config into own file ui/neovide.lua
This commit is contained in:
parent
347afd9895
commit
b53fc4ef4b
16
init.lua
16
init.lua
|
@ -61,18 +61,4 @@ vim.keymap.set("i", "jk", "<esc>")
|
||||||
vim.keymap.set("n", "<leader>l", "<cmd>Lazy<CR>")
|
vim.keymap.set("n", "<leader>l", "<cmd>Lazy<CR>")
|
||||||
|
|
||||||
-- neovide
|
-- neovide
|
||||||
if vim.g.neovide then
|
if vim.g.neovide then require "ui.neovide" end
|
||||||
vim.opt.winblend = 20
|
|
||||||
vim.opt.pumblend = 20
|
|
||||||
|
|
||||||
vim.g.neovide_padding_top = 5
|
|
||||||
vim.g.neovide_padding_bottom = 5
|
|
||||||
vim.g.neovide_padding_left = 5
|
|
||||||
vim.g.neovide_padding_right = 5
|
|
||||||
|
|
||||||
vim.g.neovide_floating_blur_amount_x = 2.0
|
|
||||||
vim.g.neovide_floating_blur_amount_y = 2.0
|
|
||||||
|
|
||||||
vim.g.neovide_hide_mouse_when_typing = false
|
|
||||||
vim.g.neovide_remember_window_size = false
|
|
||||||
end
|
|
||||||
|
|
13
lua/ui/neovide.lua
Normal file
13
lua/ui/neovide.lua
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
-- vim.opt.winblend = 20
|
||||||
|
-- vim.opt.pumblend = 20
|
||||||
|
|
||||||
|
vim.g.neovide_padding_top = 5
|
||||||
|
vim.g.neovide_padding_bottom = 5
|
||||||
|
vim.g.neovide_padding_left = 5
|
||||||
|
vim.g.neovide_padding_right = 5
|
||||||
|
|
||||||
|
vim.g.neovide_floating_blur_amount_x = 2.0
|
||||||
|
vim.g.neovide_floating_blur_amount_y = 2.0
|
||||||
|
|
||||||
|
vim.g.neovide_hide_mouse_when_typing = false
|
||||||
|
vim.g.neovide_remember_window_size = false
|
Loading…
Reference in a new issue