From 36fdc6d62cbe7d67700a5011c11cc3a434e4f13a Mon Sep 17 00:00:00 2001 From: Brian Koech Date: Thu, 8 Feb 2024 19:15:24 +0300 Subject: [PATCH] Add neovide configs and shell --- lua/config/neovide.lua | 18 ++++++++++++++++++ lua/config/options.lua | 4 ++++ 2 files changed, 22 insertions(+) create mode 100644 lua/config/neovide.lua diff --git a/lua/config/neovide.lua b/lua/config/neovide.lua new file mode 100644 index 0000000..9d370da --- /dev/null +++ b/lua/config/neovide.lua @@ -0,0 +1,18 @@ +if vim.g.neovide then + vim.o.guifont = "FiraCode Nerd Font:h12" + vim.g.neovide_cursor_vfx_mode = "railgun" + vim.g.neovide_cursor_vfx_opacity = 200 + vim.g.neovide_cursor_vfx_particle_lifetime = 0.1 + vim.g.neovide_cursor_vfx_particle_density = 10 + vim.g.neovide_cursor_vfx_particle_speed = 10 + vim.g.neovide_cursor_vfx_particle_length = 0.2 + vim.g.neovide_cursor_vfx_particle_offset = 0 + vim.g.neovide_cursor_vfx_color_map = "rainbow" + vim.g.neovide_cursor_vfx_enable = true + vim.g.neovide_cursor_vfx_inertia = 0.1 + vim.g.neovide_cursor_vfx_max_particles = 1000 + + vim.g.neovide_remember_window_size = true + vim.g.neovide_refresh_rate = 60 + -- vim.g.neovide_theme = "tokyonight" +end diff --git a/lua/config/options.lua b/lua/config/options.lua index c41ea8b..7fe1186 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -10,3 +10,7 @@ vim.api.nvim_set_var("gruvbox_contrast_dark", "hard") vim.cmd([[let &t_Cs = "\e[4:3m"]]) vim.cmd([[let &t_Ce = "\e[4:0m"]]) + +vim.o.shell = "powershell" +vim.o.shellcmdflag = "-command" +vim.o.shellquote = '"'