setup editor options

pull/547/head
Nick Burt 2 years ago
parent c1610371bb
commit 03bd849e9c

@ -200,20 +200,33 @@ require('lazy').setup({
-- [[ Setting options ]] -- [[ Setting options ]]
-- Set highlight on search -- Line numbers
vim.o.hlsearch = false vim.opt.nu = true
vim.opt.relativenumber = true
-- Make line numbers default -- Highlighting on search
vim.wo.number = true vim.opt.hlsearch = true
vim.opt.incsearch = true
-- Enable mouse mode -- Enable mouse mode
vim.o.mouse = 'a' vim.opt.mouse = 'a'
-- Sync clipboard between OS and Neovim. -- Sync clipboard between OS and Neovim.
vim.o.clipboard = 'unnamedplus' vim.opt.clipboard = 'unnamedplus'
-- Enable break indent -- Handle indentation
vim.o.breakindent = true vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = true
vim.opt.smartindent = true
vim.opt.breakindent = true
-- Remove line wrapping
vim.opt.wrap = false
-- Scroll buffer
vim.opt.scrolloff = 8
-- Save undo history -- Save undo history
vim.o.undofile = true vim.o.undofile = true

Loading…
Cancel
Save