aboutsummaryrefslogtreecommitdiff
path: root/NeoVim/.config/nvim/init.lua
blob: d994259f1efff38456049d00e5ccb08371ab48bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
-- 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.opt.relativenumber = true
vim.cmd("set path+=**")

-- Setup lazy.nvim
require("config.lazy")