diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-10-14 00:44:29 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-10-14 00:44:29 +0100 |
commit | bc3fae6b88308dc3e478954a0fb3d0b14809c2e8 (patch) | |
tree | 721374b530fae630fe5234f1f63e2dbe388763a8 /NeoVim/.config/nvim/init.lua | |
parent | e36e3bd66c5cb9b9d3a604017c75e356e2678abd (diff) | |
download | dotfiles-bc3fae6b88308dc3e478954a0fb3d0b14809c2e8.tar.gz dotfiles-bc3fae6b88308dc3e478954a0fb3d0b14809c2e8.tar.bz2 dotfiles-bc3fae6b88308dc3e478954a0fb3d0b14809c2e8.zip |
New neovim config
Uses lazy nvim and Lua instead of the old Vundle and vimscript setup.
Diffstat (limited to 'NeoVim/.config/nvim/init.lua')
-rw-r--r-- | NeoVim/.config/nvim/init.lua | 20 |
1 files changed, 20 insertions, 0 deletions
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") |