summaryrefslogtreecommitdiff
path: root/plugin/opts.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/opts.lua')
-rw-r--r--plugin/opts.lua16
1 files changed, 0 insertions, 16 deletions
diff --git a/plugin/opts.lua b/plugin/opts.lua
index b2ebf9f..39de789 100644
--- a/plugin/opts.lua
+++ b/plugin/opts.lua
@@ -1,9 +1,3 @@
--- vim.opt.list = true
--- vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
--- vim.opt.listchars:append("space:⋅")
--- Set highlight on search
--- vim.opt.hlsearch = false
-
-- require("vim._core.ui2").enable()
vim.cmd.packadd("nvim.undotree")
-- vim.cmd.packadd("nvim.difftool")
@@ -15,20 +9,14 @@ vim.o.winborder = "single"
vim.opt.hlsearch = true
vim.keymap.set("n", "<Esc>", "<cmd>nohlsearch<CR>")
--- Preview substitutions live, as you type!
vim.opt.inccommand = "split"
-
--- Minimal number of screen lines to keep above and below the cursor.
vim.opt.scrolloff = 99
--- Make line numbers default
vim.wo.number = true
vim.o.cursorline = true
--- Disable mouse mode
vim.o.mouse = ""
--- Indent
vim.o.smarttab = true
-- vim.o.smartindent = true
-- vim.o.indentexpr = true
@@ -39,7 +27,6 @@ vim.o.softtabstop = 4
vim.o.shiftwidth = 4
vim.o.expandtab = true
--- stops line wrapping from being confusing
vim.o.wrap = true
vim.o.linebreak = true
vim.o.breakindent = true
@@ -56,11 +43,8 @@ vim.wo.signcolumn = "yes"
vim.wo.relativenumber = true
vim.opt.lazyredraw = true
--- Decrease update time
vim.o.updatetime = 250
-vim.o.timeoutlen = 300
--- Set completeopt to have a better completion experience
vim.o.completeopt = "menu,preview,noselect"
vim.o.termguicolors = true