]> localhost Git - nvim.git/commitdiff
neovide
authorJansen <[email protected]>
Tue, 15 Apr 2025 15:12:27 +0000 (11:12 -0400)
committerJansen <[email protected]>
Tue, 15 Apr 2025 15:12:27 +0000 (11:12 -0400)
init.lua
lua/neovide.lua [new file with mode: 0644]

index 03e28868fc0df12c45e1880a03788442365dbb7f..bf75ff41da8b1754c8700e64d4f3540a122491fd 100644 (file)
--- a/init.lua
+++ b/init.lua
@@ -19,6 +19,9 @@ vim.opt.fillchars      = {eob = " "}
 
 require('plugins')
 require('keybindings').setup()
+if vim.g.neovide then
+  require('neovide')
+end
 
 vim.cmd.colorscheme('codeclocks')
 
diff --git a/lua/neovide.lua b/lua/neovide.lua
new file mode 100644 (file)
index 0000000..52ea6af
--- /dev/null
@@ -0,0 +1,10 @@
+local font_family = "JetBrainsMono Nerd Font"
+local font_size = 16
+
+local function font()
+  return font_family .. ":h" .. font_size
+end
+
+vim.g.neovide_hide_mouse_when_typing = true
+vim.o.guifont = font()
+vim.cmd [[cd ~/re:src]]