aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/config/options.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/config/options.lua')
-rw-r--r--nvim/lua/config/options.lua39
1 files changed, 39 insertions, 0 deletions
diff --git a/nvim/lua/config/options.lua b/nvim/lua/config/options.lua
new file mode 100644
index 0000000..1629194
--- /dev/null
+++ b/nvim/lua/config/options.lua
@@ -0,0 +1,39 @@
+local opt = vim.opt
+
+-- Indent
+opt.softtabstop = 2
+opt.shiftwidth = 2
+opt.expandtab = true
+opt.smartindent = true
+opt.wrap = false
+
+-- Appearance
+opt.number = true
+opt.cursorline = true
+opt.termguicolors = true
+opt.showmode = true
+opt.colorcolumn = "100"
+opt.signcolumn = "yes"
+opt.cmdheight = 1
+opt.scrolloff = 10
+opt.completeopt = "menuone,noinsert,noselect"
+
+-- Search
+opt.incsearch = true
+opt.hlsearch = false
+opt.ignorecase = true
+opt.smartcase = true
+
+-- Behaviuor
+opt.hidden = true
+opt.errorbells = false
+opt.swapfile = false
+opt.backup = false
+opt.backspace = "indent,eol,start"
+opt.splitright = true
+opt.splitbelow = true
+opt.autochdir = false
+opt.mouse = "a"
+opt.clipboard = "unnamedplus"
+opt.modifiable = true
+opt.encoding = "UTF-8"