migrate over neovim config
This commit is contained in:
parent
92c57d8825
commit
f581832953
18 changed files with 535 additions and 102 deletions
22
dotfiles/nvim/lua/config/options.lua
Normal file
22
dotfiles/nvim/lua/config/options.lua
Normal file
|
@ -0,0 +1,22 @@
|
|||
-- Options are automatically loaded before lazy.nvim startup
|
||||
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
||||
-- Add any additional options here
|
||||
|
||||
-- Disable relative line numbers
|
||||
vim.o.relativenumber = false
|
||||
|
||||
-- Change the default font
|
||||
-- Some of my machines have HDR displayed, meaning they need a smaller font size
|
||||
if vim.fn.hostname() == "enoko" then
|
||||
vim.o.guifont = "JetBrainsMono NF:h12"
|
||||
else
|
||||
vim.o.guifont = "JetBrainsMono NF:h14"
|
||||
end
|
||||
|
||||
if vim.g.neovide then
|
||||
-- Reduce neovide scroll animation length
|
||||
vim.g.neovide_scroll_animation_length = 0.1
|
||||
end
|
||||
|
||||
-- Prepend mise shims to path
|
||||
vim.env.PATH = vim.env.HOME .. ".local/share/mise/shims:" .. vim.env.PATH
|
Loading…
Add table
Add a link
Reference in a new issue