blob: 814a837f290b7070e5633ef9b8bdc2cad390f035 (
plain)
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
|
local op = vim.opt
op.nu = true
op.relativenumber = true
op.tabstop = 2
op.softtabstop = 2
op.shiftwidth = 2
op.expandtab = true
op.smartindent = true
op.wrap = false
op.swapfile = false
op.backup = false
op.undodir = os.getenv("HOME") .. "/.vim/undodir"
op.undofile = true
op.hlsearch = false
op.incsearch = true
op.termguicolors = true
op.cursorline = true
op.scrolloff = 8
op.autoread = true
op.updatetime = 50
op.colorcolumn = '120'
-- required to allow mm (mark-move) command to move file
vim.g.netrw_keepdir = 0
|