1local key = require("gabrielgio.key")
2vim.opt.shiftwidth = 4
3vim.opt.tabstop = 4
4vim.opt.softtabstop = 4
5vim.opt.shiftwidth = 4
6vim.opt.expandtab = true
7vim.opt.smartindent = true
8vim.opt.hidden = true
9vim.opt.errorbells = false
10vim.opt.exrc = true
11vim.opt.relativenumber = true
12vim.opt.hlsearch = true
13vim.opt.nu = true
14vim.opt.wrap = false
15vim.opt.smartcase = true
16vim.opt.ignorecase = true
17vim.opt.swapfile = false
18vim.opt.backup = false
19vim.opt.undodir = "/home/gabrielgio/.local/share/nvim/undodir"
20vim.opt.undofile = true
21vim.opt.incsearch = true
22vim.opt.termguicolors = true
23vim.opt.scrolloff = 8
24vim.opt.showmode = false
25vim.opt.colorcolumn = "80"
26vim.opt.signcolumn = "yes"
27vim.opt.background = "light"
28vim.opt.completeopt = {"menu", "menuone", "noselect"}
29vim.opt.clipboard = (vim.opt.clipboard + "unnamedplus")
30vim.opt.spelllang = {"en", "pt_br", "de"}
31vim.opt.list = true
32vim.opt.listchars = {
33 eol = "\194\172",
34 tab = ">\194\183",
35 trail = "~",
36 extends = ">",
37 precedes = "<",
38 space = "."
39}
40vim.opt.wildignore = (vim.opt.wildignore + "**/.git/*")
41vim.g.mapleader = " "
42vim.opt.updatetime = 100
43vim.opt.foldmethod = "expr"
44vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
45vim.opt.foldenable = false
46key.nnoremap("<leader>w", "<C-w>w")
47vim.cmd("colorscheme edge")
48vim.o.background = "light"
49
50vim.g.loaded = 1
51vim.g.loaded_netrwPlugin = 1
52vim.g.CtrlSpaceDefaultMappingKey = "<C-space> "
53vim.g.maplocalleader = ";"
54
55vim.g.cmake_build_dir = "build"
56vim.g.cmake_build_type = "Debug"