-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathset.lua
41 lines (30 loc) · 810 Bytes
/
set.lua
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
40
41
-- case insensitive searching
vim.opt.ignorecase = true
vim.opt.smartcase = true
-- line numbers
vim.opt.nu = true
-- tab sizing
vim.opt.tabstop = 2
vim.opt.softtabstop = 2
vim.opt.shiftwidth = 2
vim.opt.expandtab = true
vim.opt.autoindent = true
vim.opt.wrap = false
vim.opt.swapfile = false
vim.opt.backup = false
vim.opt.undofile = false
-- highlight searches and search while typing
vim.opt.hlsearch = true
vim.opt.incsearch = true
vim.opt.termguicolors = true
-- minimal number of lines to keep above
-- or below the cursor
vim.opt.scrolloff = 8
-- do not believe this is needed for me
vim.opt.signcolumn = "yes"
vim.opt.isfname:append("@-@")
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
vim.g.loaded_netrwSettings = 1
vim.g.loaded_netrwFileHandlers = 1
vim.g.loaded_netrw_gitignore = 1