From bc3fae6b88308dc3e478954a0fb3d0b14809c2e8 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 14 Oct 2024 00:44:29 +0100 Subject: New neovim config Uses lazy nvim and Lua instead of the old Vundle and vimscript setup. --- NeoVim/.config/nvim/init.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 NeoVim/.config/nvim/init.lua (limited to 'NeoVim/.config/nvim/init.lua') diff --git a/NeoVim/.config/nvim/init.lua b/NeoVim/.config/nvim/init.lua new file mode 100644 index 0000000..598257a --- /dev/null +++ b/NeoVim/.config/nvim/init.lua @@ -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") -- cgit v1.2.3-13-gbd6f