More work, LSP is not working yet need to figure that out more
This commit is contained in:
parent
713d128018
commit
764b890c58
32 changed files with 290 additions and 441 deletions
|
@ -1,20 +1,42 @@
|
|||
-- allow use of system keyboard
|
||||
vim.opt.clipboard = "unnamedplus"
|
||||
|
||||
-- allow use of mouse
|
||||
vim.opt.mouse = 'a'
|
||||
|
||||
-- line numbering, relative
|
||||
vim.opt.number = true
|
||||
vim.wo.number = true
|
||||
vim.wo.relativenumber = true
|
||||
|
||||
-- Highlights the results of previous search, which is annoying when we are done searching
|
||||
vim.opt.hlsearch = false
|
||||
|
||||
-- Wrap lines in files
|
||||
vim.opt.wrap = true
|
||||
|
||||
-- preseve indentation of virtual wrapped lines
|
||||
vim.opt.breakindent = true
|
||||
|
||||
-- be smart with indents
|
||||
vim.opt.smartindent = true
|
||||
|
||||
-- set tab length
|
||||
vim.opt.tabstop = 2;
|
||||
vim.opt.softtabstop = 2;
|
||||
vim.opt.shiftwidth = 2;
|
||||
vim.opt.expandtab = true
|
||||
|
||||
-- Dont use swap files, use undotree
|
||||
vim.opt.swapfile = false
|
||||
vim.opt.backup = false
|
||||
vim.opt.undodir = os.getenv('HOME') .. '/.vim/undodir'
|
||||
vim.opt.undofile = true
|
||||
|
||||
-- Search settings
|
||||
vim.opt.hlsearch = true
|
||||
vim.opt.incsearch = true
|
||||
|
||||
-- split to the right or below always
|
||||
vim.opt.splitbelow = true
|
||||
vim.opt.splitright = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue