Add neovide config

This commit is contained in:
Alexandre Ignjatovic 2024-07-24 11:07:46 +02:00
parent 2ffbf2f8c9
commit fcdb824f52
1 changed files with 7 additions and 0 deletions

View File

@ -156,6 +156,13 @@ vim.opt.cursorline = true
-- Minimal number of screen lines to keep above and below the cursor. -- Minimal number of screen lines to keep above and below the cursor.
vim.opt.scrolloff = 10 vim.opt.scrolloff = 10
-- Neovide configuration
if vim.g.neovide then
vim.o.guifont = 'RobotoMono Nerd Font Mono:h10' -- text below applies for VimScript
vim.g.neovide_cursor_antialiasing = true
vim.g.neovide_cursor_vfx_mode = 'railgun'
end
-- [[ Basic Keymaps ]] -- [[ Basic Keymaps ]]
-- See `:help vim.keymap.set()` -- See `:help vim.keymap.set()`