summaryrefslogtreecommitdiff
path: root/lua/core/options.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/core/options.lua')
-rw-r--r--lua/core/options.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/lua/core/options.lua b/lua/core/options.lua
new file mode 100644
index 0000000..110c46a
--- /dev/null
+++ b/lua/core/options.lua
@@ -0,0 +1,19 @@
+vim.opt.tabstop = 2
+vim.opt.shiftwidth = 2
+vim.opt.shiftround = true -- round indent to sw compatible
+vim.opt.expandtab = true
+
+vim.opt.mouse = 'a'
+vim.opt.clipboard = 'unnamedplus'
+-- Case insensitive searching UNLESS /C or capital in search
+vim.opt.ignorecase = true
+vim.opt.smartcase = true
+
+-- Better editor UI
+vim.opt.number = true
+-- vim.opt.numberwidth = 3
+vim.opt.relativenumber = true
+-- vim.opt.signcolumn = 'yes:2'
+vim.opt.signcolumn = 'yes'
+vim.opt.cursorline = false
+vim.opt.listchars = 'trail:·,nbsp:◇,tab:→ ,extends:▸,precedes:◂,eol:⁋'