summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua29
1 files changed, 29 insertions, 0 deletions
diff --git a/init.lua b/init.lua
new file mode 100644
index 0000000..cb7eb79
--- /dev/null
+++ b/init.lua
@@ -0,0 +1,29 @@
+require('plugins')
+
+--------------------------
+-- General configs
+--------------------------
+vim.g.mapleader = " "
+
+vim.opt.guicursor = ""
+
+vim.opt.nu = true
+vim.opt.relativenumber = true
+
+vim.opt.smartindent = true
+
+vim.opt.hlsearch = true
+vim.opt.incsearch = true
+
+vim.opt.colorcolumn = "80"
+vim.opt.signcolumn = "auto:1"
+
+vim.opt.tabstop = 4
+vim.opt.softtabstop = 4
+vim.opt.shiftwidth = 4
+vim.opt.expandtab = true
+
+--------------------------
+-- Keymap
+--------------------------
+vim.keymap.set("n", "<C-n>", vim.cmd.noh)