Initial commit based on NvChad v2.0

This commit is contained in:
2024-03-02 01:01:31 +01:00
commit 465ae1422c
5 changed files with 129 additions and 0 deletions

19
init.lua Normal file
View File

@@ -0,0 +1,19 @@
local autocmd = vim.api.nvim_create_autocmd
vim.opt.fillchars = { }
--
-- restore shift-y line copy
vim.keymap.set('n', 'Y', 'Y')
--
-- enable nvim intro
-- vim.opt.shortmess = "filnxtToO"
vim.opt.whichwrap:remove "<>[]hl"
--
-- python max columns
autocmd("FileType", {
pattern = "python",
callback = function()
vim.opt.textwidth = 79
vim.opt.colorcolumn = "80"
end,
})