nvim/options.lua
RingOfStorms (Joshua Bell) dc3e319f27 Working on LSP and shit like that, Astro config is confusing, need to
learn it myself from scratch
2023-05-23 02:56:59 -05:00

20 lines
595 B
Lua

-- 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