blob: 56a9b84aac103692b82936ce42df6cd1578e09ad (
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
|
vim.o.termguicolors = true
vim.o.relativenumber = true
vim.o.number = true
vim.o.cursorline = true
vim.o.cursorlineopt = "line"
vim.o.ignorecase = true
vim.o.smartcase = true
vim.o.mouse = ""
vim.o.cc = "80"
vim.o.splitright = true
vim.o.splitbelow = true
local tabwidth = 2
vim.o.tabstop = tabwidth
vim.o.shiftwidth = tabwidth
vim.o.expandtab = true
-- Disable line numbers in terminal
vim.api.nvim_create_autocmd("TermOpen", {
callback = function()
vim.o.number = false
vim.o.relativenumber = false
end,
})
vim.cmd.colorscheme("mine")
|