24 lines
571 B
Lua
24 lines
571 B
Lua
-- Preferences
|
|
|
|
-- Set highlight on search
|
|
vim.o.hlsearch = true
|
|
|
|
-- Make line numbers default
|
|
--vim.wo.number = true
|
|
vim.opt.number = true
|
|
vim.opt.relativenumber = true
|
|
vim.opt.signcolumn = "number"
|
|
|
|
-- Dynamic line numbers
|
|
--vim.wo.relativenumber = true
|
|
|
|
-- highlight columns
|
|
vim.o.colorcolumn= '80,120'
|
|
|
|
-- Sync clipboard between OS and Neovim.
|
|
-- Remove this option if you want your OS clipboard to remain independent.
|
|
-- See `:help 'clipboard'`
|
|
vim.o.clipboard = 'unnamedplus'
|
|
|
|
-- Always keep this amount of lines above and below the cursor
|
|
vim.opt.scrolloff = 5
|