-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
39 lines (37 loc) · 787 Bytes
/
init.lua
File metadata and controls
39 lines (37 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
local options = {
backup = false,
termguicolors = true,
cmdheight = 2,
expandtab = true,
shiftwidth = 2,
softtabstop = 2,
tabstop = 2,
autoindent = true,
number = true,
clipboard = "unnamedplus",
conceallevel = 0,
fileencoding = "utf-8",
hlsearch = true,
ignorecase = true,
mouse = "a",
showtabline = 2,
smartcase = true,
smartindent = true,
splitbelow = true,
splitright = true,
swapfile = false,
updatetime = 300,
writebackup = false,
cursorline = true,
relativenumber = false,
numberwidth = 4,
signcolumn = "yes",
wrap = false,
scrolloff = 8,
}
-- set options via vimscript
for k, v in pairs(options) do
vim.opt[k] = v
end
require("config.keymaps") -- map b4 loading packages so we can use <Leader>
require("lazy-config")