summaryrefslogtreecommitdiff
path: root/lua/core/options.lua
diff options
context:
space:
mode:
authorngharo <root@ngha.ro>2023-12-29 17:46:10 -0600
committerngharo <root@ngha.ro>2023-12-29 17:46:10 -0600
commit31474998d6935d48f678988c8a7a4fac7bb2ae72 (patch)
treec71114c23c31f888c0be1ec1b2efdab0d5ce6ca5 /lua/core/options.lua
downloadnvim-31474998d6935d48f678988c8a7a4fac7bb2ae72.tar.xz
nvim-31474998d6935d48f678988c8a7a4fac7bb2ae72.zip
Inititial commit
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:⁋'