my_nvim_config/lua/pippy/init.lua

38 lines
739 B
Lua
Raw Normal View History

require("pippy.remap")
require("pippy.lazy")
2024-02-04 20:53:56 -05:00
vim.opt.nu = true
vim.opt.relativenumber = true
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = true
vim.opt.swapfile = false
vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
vim.opt.undofile = true
2024-04-17 22:15:13 -04:00
vim.opt.hlsearch = true
2024-02-04 20:53:56 -05:00
vim.opt.incsearch = true
vim.opt.termguicolors = true
vim.opt.scrolloff = 8
vim.opt.signcolumn = "yes"
vim.opt.isfname:append("@-@")
vim.opt.updatetime = 50
vim.opt.colorcolumn = "80"
vim.opt.listchars = { space = '·', tab = '>~', eol = ''}
vim.opt.list = true
2024-04-05 09:13:51 -04:00
vim.opt.spelllang = 'en_us'
vim.opt.spell = true
vim.api.nvim_create_autocmd({ "BufWritePre" }, {
pattern = { "*" },
command = [[%s/\s\+$//e]],
})