diff --git a/init.lua b/init.lua index 2ba022a2..72a4347b 100644 --- a/init.lua +++ b/init.lua @@ -9,3 +9,8 @@ require 'keymaps' -- Remaining vim commands to be converted to lua require 'vimcommands' + +-- Neovide specific config, only used if Neovide is runnning +if vim.g.neovide then + require 'neovide' +end diff --git a/lua/neovide.lua b/lua/neovide.lua new file mode 100644 index 00000000..5a023425 --- /dev/null +++ b/lua/neovide.lua @@ -0,0 +1,8 @@ +-- Neovide options +vim.g.neovide_transparency = 0.95 +vim.g.neovide_confirm_quit = true +vim.g.neovide_fullscreen = false +vim.g.neovide_remember_window_size = false +vim.g.neovide_cursor_animation_length = 0.0 +-- vim.g.neovide_cursor_trail_size = 0.8 +vim.g.neovide_cursor_antialiasing = true