new nvim config WIP

This commit is contained in:
Bryan Ramos 2024-08-20 16:53:12 -04:00
parent 8163e330a0
commit 4c8fadee55
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
14 changed files with 463 additions and 0 deletions

View file

@ -0,0 +1,31 @@
vim.o.clipboard = "unnamedplus"
vim.g.autoformat = false
vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.cursorline = true
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.opt.softtabstop = 2
vim.opt.expandtab = true
vim.opt.smartindent = true
vim.opt.ignorecase = true
vim.opt.smartcase = false
vim.opt.incsearch = false
vim.opt.swapfile = false
vim.opt.backup = false
vim.opt.undofile = true
vim.o.termguicolors = false
vim.opt.guicursor = "n-v-c:block,i:block,r:block"
vim.opt.fillchars = { eob = " " }
vim.cmd([[
autocmd FileType python,haskell,c,cpp setlocal tabstop=4 shiftwidth=4 softtabstop=4
]])
vim.cmd([[
au BufRead,BufNewFile *.purs set filetype=purescript
]])