[vim] Some super quick 'n dirty GUI config for neovim
Change some defaults to make neovide a little nicer.
This commit is contained in:
parent
3110e2ff76
commit
9810fa799e
2 changed files with 26 additions and 0 deletions
|
@ -73,6 +73,9 @@ keys.init_key_opts()
|
|||
keys.init_window_key_mappings()
|
||||
keys.init_diagnostic_key_mappings()
|
||||
|
||||
local gui = require 'gui'
|
||||
gui.init()
|
||||
|
||||
function ErynEnsureMetadataDirectoriesExist()
|
||||
local paths = {
|
||||
vim.opt.backupdir:get(),
|
||||
|
|
23
config/nvim/lua/gui.lua
Normal file
23
config/nvim/lua/gui.lua
Normal file
|
@ -0,0 +1,23 @@
|
|||
-- Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
local function _init_neovide()
|
||||
if not vim.g.neovide then
|
||||
return
|
||||
end
|
||||
|
||||
vim.g.neovide_cursor_animation_length = 0
|
||||
vim.g.neovide_position_animation_length = 0
|
||||
vim.g.neovide_scroll_animation_length = 0
|
||||
|
||||
vim.o.guifont = "InputMonoCondensed:h16"
|
||||
|
||||
vim.cmd [[ colorscheme dracula ]]
|
||||
end
|
||||
|
||||
function init_gui()
|
||||
_init_neovide()
|
||||
end
|
||||
|
||||
return {
|
||||
init = init_gui,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue