aboutsummaryrefslogtreecommitdiff
path: root/lua/core/opts.lua
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-02-29 22:18:05 +0530
committersinanmohd <sinan@sinanmohd.com>2024-02-29 22:18:05 +0530
commita2d4246a30cb6e4af050a3c1ab6b9f18817c9f3e (patch)
tree6888322225f09587c0daa866aae789523eed8d76 /lua/core/opts.lua
repo: init
Diffstat (limited to 'lua/core/opts.lua')
-rw-r--r--lua/core/opts.lua25
1 files changed, 25 insertions, 0 deletions
diff --git a/lua/core/opts.lua b/lua/core/opts.lua
new file mode 100644
index 0000000..11c8413
--- /dev/null
+++ b/lua/core/opts.lua
@@ -0,0 +1,25 @@
+-- functional
+vim.g.mapleader = " "
+vim.o.ignorecase = true
+vim.o.smartcase = true
+vim.o.clipboard = "unnamedplus"
+vim.o.undofile = true
+vim.o.mouse = false
+vim.o.number = true
+vim.o.relativenumber = true
+vim.o.signcolumn = "yes"
+
+-- termux like
+vim.o.splitright = true
+vim.o.splitbelow = true
+
+-- non-functional
+vim.g.netrw_banner = 0
+vim.g.netrw_liststyle = 3
+vim.g.netrw_winsize = 25
+vim.o.breakindent = true
+vim.o.termguicolors = true
+vim.o.guicursor = false
+vim.o.showmode = false
+vim.o.numberwidth = 2
+vim.o.ruler = false