better scrolling for neovide
This commit is contained in:
parent
53d285d130
commit
1541574eee
|
@ -87,6 +87,23 @@ if vim.g.started_by_firenvim == true then
|
|||
opt.wrap = true
|
||||
end
|
||||
|
||||
if vim.g.neovide == true then
|
||||
-- fulscreen with F11
|
||||
vim.api.nvim_set_keymap("n", "<F11>", ":let g:neovide_fullscreen = !g:neovide_fullscreen<CR>", {})
|
||||
|
||||
vim.g.neovide_underline_automatic_scaling = true
|
||||
|
||||
-- vim.g.neovide_floating_blur_amount_x = 2.0
|
||||
-- vim.g.neovide_floating_blur_amount_y = 2.0
|
||||
|
||||
vim.g.neovide_scroll_animation_length = 0.1
|
||||
-- vim.g.neovide_cursor_animation_length = 0
|
||||
-- vim.g.neovide_cursor_trail_size = 0
|
||||
vim.g.neovide_hide_mouse_when_typing = true
|
||||
|
||||
vim.g.neovide_fullscreen = true
|
||||
end
|
||||
|
||||
opt.helpheight = 0 -- Disable help window resizing
|
||||
opt.winwidth = 30 -- Minimum width for active window
|
||||
opt.winminwidth = 1 -- Minimum width for inactive windows
|
||||
|
@ -165,4 +182,4 @@ if vim.g.started_by_firenvim == true then
|
|||
end
|
||||
|
||||
-- alias filetypes
|
||||
vim.filetype.add { extension = { tera = 'html' } }
|
||||
vim.filetype.add { extension = { tera = "html" } }
|
||||
|
|
Loading…
Reference in New Issue