Added init.lua.

This commit is contained in:
Jacob Signorovitch 2024-12-28 13:11:51 -05:00
parent 7b2562d194
commit 4b57201891

22
.config/nvim/init.lua Normal file
View File

@ -0,0 +1,22 @@
require('config.lazy')
o = vim.opt
o.number = true
o.relativenumber = true
o.hlsearch = false
o.syntax = 'on'
o.tabstop = 4
o.softtabstop = 4
o.shiftwidth = 4
o.expandtab = true
o.smartindent = true
o.foldmethod = 'indent'
o.foldlevel = 100
o.background = dark
vim.cmd('colorscheme gruvbox')
vim.keymap.set('n', '<space>', 'za', {desc = 'Toggle fold'})