summaryrefslogtreecommitdiffstats
path: root/config/nvim/lua/settings.lua
blob: 6f440bbcf4b71d74f1f3f38b8f07ac1bca537e49 (plain) (blame)
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
vim.g.mapleader = " "

vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1

--Decorative
vim.opt.termguicolors = true
vim.opt.cursorline = true
vim.opt.number = true
vim.opt.signcolumn = "yes"
vim.opt.cmdheight = 1
vim.cmd.colorscheme "catppuccin"

--Undo
vim.opt.undofile = true

--Indents
vim.opt.smartindent = true
vim.opt.autoindent = true
vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
vim.opt.softtabstop = 4
vim.opt.expandtab = true

--Clipboard
vim.opt.clipboard = "unnamedplus"

--Misc
vim.opt.hidden = true
vim.opt.smartcase = true
vim.opt.splitbelow = true
vim.opt.splitright = true
vim.opt.colorcolumn = "80"
vim.opt.updatetime = 250