From fb3c96d50d625db725940625120012c75afc17f6 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Fri, 14 Jun 2024 19:06:50 +0200 Subject: feat: Initial commit --- lua/gabrielgio/settable.lua | 56 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 lua/gabrielgio/settable.lua (limited to 'lua/gabrielgio/settable.lua') diff --git a/lua/gabrielgio/settable.lua b/lua/gabrielgio/settable.lua new file mode 100644 index 0000000..d70dfa1 --- /dev/null +++ b/lua/gabrielgio/settable.lua @@ -0,0 +1,56 @@ +local key = require("gabrielgio.key") +vim.opt.shiftwidth = 4 +vim.opt.tabstop = 4 +vim.opt.softtabstop = 4 +vim.opt.shiftwidth = 4 +vim.opt.expandtab = true +vim.opt.smartindent = true +vim.opt.hidden = true +vim.opt.errorbells = false +vim.opt.exrc = true +vim.opt.relativenumber = true +vim.opt.hlsearch = true +vim.opt.nu = true +vim.opt.wrap = false +vim.opt.smartcase = true +vim.opt.ignorecase = true +vim.opt.swapfile = false +vim.opt.backup = false +vim.opt.undodir = "/home/gabrielgio/.local/share/nvim/undodir" +vim.opt.undofile = true +vim.opt.incsearch = true +vim.opt.termguicolors = true +vim.opt.scrolloff = 8 +vim.opt.showmode = false +vim.opt.colorcolumn = "80" +vim.opt.signcolumn = "yes" +vim.opt.background = "light" +vim.opt.completeopt = {"menu", "menuone", "noselect"} +vim.opt.clipboard = (vim.opt.clipboard + "unnamedplus") +vim.opt.spelllang = {"en", "pt_br", "de"} +vim.opt.list = true +vim.opt.listchars = { + eol = "\194\172", + tab = ">\194\183", + trail = "~", + extends = ">", + precedes = "<", + space = "." +} +vim.opt.wildignore = (vim.opt.wildignore + "**/.git/*") +vim.g.mapleader = " " +vim.opt.updatetime = 100 +vim.opt.foldmethod = "expr" +vim.opt.foldexpr = "nvim_treesitter#foldexpr()" +vim.opt.foldenable = false +key.nnoremap("w", "w") +vim.cmd("colorscheme edge") +vim.o.background = "light" + +vim.g.loaded = 1 +vim.g.loaded_netrwPlugin = 1 +vim.g.CtrlSpaceDefaultMappingKey = " " +vim.g.maplocalleader = ";" + +vim.g.cmake_build_dir = "build" +vim.g.cmake_build_type = "Debug" -- cgit v1.2.3