New neovim config
Uses lazy nvim and Lua instead of the old Vundle and vimscript setup.
This commit is contained in:
20
NeoVim/.config/nvim/init.lua
Normal file
20
NeoVim/.config/nvim/init.lua
Normal 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")
|
||||
Reference in New Issue
Block a user