lazy-nvim migration with basic plugins
This commit is contained in:
parent
b02e4dda6c
commit
e2a8848a27
7 changed files with 109 additions and 75 deletions
24
.config/nvim/lua/base.lua
Normal file
24
.config/nvim/lua/base.lua
Normal file
|
@ -0,0 +1,24 @@
|
|||
vim.cmd("autocmd!")
|
||||
|
||||
vim.scriptencoding = 'utf-8'
|
||||
vim.opt.encoding = 'utf-8'
|
||||
vim.opt.fileencoding = 'utf-8'
|
||||
vim.wo.relativenumber = true
|
||||
vim.wo.number = true
|
||||
vim.opt.title = true
|
||||
vim.opt.autoindent = true
|
||||
vim.opt.smartindent = true
|
||||
vim.opt.smarttab = true
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.breakindent = true
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.mouse = "a"
|
||||
vim.opt.undofile = true
|
||||
vim.opt.undodir = vim.fn.expand('~/.vim/undodir')
|
||||
vim.opt.wrap = true
|
||||
vim.opt.linebreak = true
|
||||
vim.opt.breakindent = true
|
||||
vim.opt.breakindentopt = "shift:2,min:40,sbr"
|
||||
|
||||
vim.cmd('colorscheme catppuccin')
|
Loading…
Add table
Add a link
Reference in a new issue