WIP, cant get which key to register at startup setup function, calling in open nvwim works. Also + purple text is weird
This commit is contained in:
parent
5fcc77255c
commit
713d128018
5 changed files with 33 additions and 27 deletions
20
lua/options.lua
Normal file
20
lua/options.lua
Normal file
|
@ -0,0 +1,20 @@
|
|||
-- 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
|
||||
-- set tab length
|
||||
vim.opt.tabstop = 2;
|
||||
vim.opt.shiftwidth = 2;
|
||||
-- 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