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.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/nvim/lua/config/options.lua b/nvim/lua/config/options.lua
new file mode 100644
index 0000000..39e1a48
--- /dev/null
+++ b/nvim/lua/config/options.lua
@@ -0,0 +1,20 @@
+-- Make sure to setup `mapleader` and `maplocalleader` before
+-- loading lazy.nvim so that mappings are correct.
+-- This is also a good place to setup other settings (vim.opt)
+vim.g.mapleader = " "
+vim.g.maplocalleader = " "
+
+vim.opt.number = true
+vim.opt.relativenumber = true
+vim.opt.clipboard = "unnamedplus"
+vim.opt.syntax = "on"
+vim.opt.autoindent = true
+vim.opt.cursorline = true
+vim.opt.expandtab = true
+vim.opt.tabstop = 4
+vim.opt.shiftwidth = 4
+vim.opt.mouse = "a"
+vim.opt.signcolumn = "yes";
+vim.opt.ignorecase = true;
+vim.opt.smartcase = true;
+vim.opt.autochdir = true;