-
Notifications
You must be signed in to change notification settings - Fork 0
/
ginit.vim
31 lines (26 loc) · 834 Bytes
/
ginit.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
lua << EOF
if vim.g.neovide then
vim.opt.guifont = "Fira Code,Noto Color Emoji,FiraCode Nerd Font,Hack Nerd Font:h12"
vim.g.remember_window_size = true
vim.g.remember_window_position = true
vim.g.neovide_cursor_animation_length = 0.13
vim.g.neovide_cursor_trail_size = 0.8
vim.g.neovide_hide_mouse_when_typing = true
vim.g.neovide_underline_automatic_scaling = true
vim.g.neovide_theme = "auto"
vim.g.neovide_confirm_quit = true
vim.g.neovide_remember_window_size = true
vim.g.neovide_input_ime = true
vim.g.neovide_cursor_antialiasing = true
local function toggleFullscreen()
if vim.g.neovide_fullscreen == false then
vim.g.neovide_fullscreen = true
else
vim.g.neovide_fullscreen = false
end
end
vim.keymap.set("n", "<F11>", function()
toggleFullscreen()
end)
end
EOF