summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/setup.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/setup.lua')
-rw-r--r--.config/nvim/lua/setup.lua32
1 files changed, 32 insertions, 0 deletions
diff --git a/.config/nvim/lua/setup.lua b/.config/nvim/lua/setup.lua
new file mode 100644
index 0000000..5f9cd4f
--- /dev/null
+++ b/.config/nvim/lua/setup.lua
@@ -0,0 +1,32 @@
+local set = vim.opt
+
+set.termguicolors = true
+set.hidden = true
+set.wildmenu = true
+set.wildignorecase = true
+set.fileignorecase = true
+set.showcmd = true
+set.hlsearch = true
+set.ignorecase = true
+set.smartcase = true
+set.incsearch = true
+set.backspace= 'indent,eol,start'
+set.pastetoggle = '<F11>'
+set.confirm = true
+set.number = true
+set.relativenumber = true
+set.shiftwidth = 4
+set.softtabstop = 4
+set.autoindent = true
+set.expandtab = true
+set.showmode = false
+set.ruler = false
+set.timeout = false
+set.ttimeoutlen = 200
+set.wrap = false
+set.fcs = 'eob: '
+set.swapfile = false
+
+vim.cmd('colorscheme gruvbox')
+vim.cmd('highlight CursorLineNr cterm=bold ctermfg=Yellow ctermbg=none')
+vim.cmd('highlight Normal ctermbg=none')