New neovim config

Uses lazy nvim and Lua instead of the old Vundle and vimscript setup.
This commit is contained in:
2024-10-14 00:44:29 +01:00
parent e36e3bd66c
commit bc3fae6b88
7 changed files with 78 additions and 108 deletions

View File

@@ -0,0 +1,20 @@
-- Bootstrap lazy.nvim
vim.g.mapleader = " "
vim.g.maplocalleader = "\\"
vim.schedule(function()
vim.opt.clipboard = 'unnamedplus'
end)
vim.opt.termguicolors = true
vim.opt.tabstop = 2
vim.opt.softtabstop = 2
vim.opt.shiftwidth = 2
vim.opt.wildmenu = true
vim.opt.expandtab = true
vim.opt.inccommand = 'split'
vim.opt.cursorline = true
vim.opt.scrolloff = 8
vim.opt.autoindent = true
vim.cmd("set path+=**")
-- Setup lazy.nvim
require("config.lazy")