summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/setup.lua
blob: e32cd37e09d822b163e1c9d8ded50c7ddb2f09c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
local set = vim.opt

vim.cmd('syntax enable')
vim.cmd('set undodir=$XDG_CACHE_HOME/nvim/undo')
vim.cmd('set undofile')
vim.cmd('colorscheme doom-one')

set.mouse = "a"
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
set.pumblend = 0
set.splitright = true
set.splitbelow = true