blob: ebb99e2cbac0334b2113b0ab4947c50bf86b6f36 (
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
|
vim.cmd("colorscheme mine")
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,
})
|