From 4b5720189199d1120ff4533ad21d9cec39bb4002 Mon Sep 17 00:00:00 2001 From: Jacob Date: Sat, 28 Dec 2024 13:11:51 -0500 Subject: [PATCH] Added init.lua. --- .config/nvim/init.lua | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .config/nvim/init.lua diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua new file mode 100644 index 0000000..02f396f --- /dev/null +++ b/.config/nvim/init.lua @@ -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', '', 'za', {desc = 'Toggle fold'})