blob: 9de7b720247e91cda0d25ecd6fa602335d1748ff (
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
|
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
vim.opt.termguicolors = true
vim.o.background = "dark"
vim.opt.colorcolumn = "80"
vim.opt.updatetime = 50
-- Map leader to space
vim.g.mapleader = ' '
-- Tabs sind für lutscher
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.o.expandtab = true
vim.opt.smartindent = true
-- QoL for search
vim.opt.hlsearch = false
vim.opt.incsearch = true
-- Scrolling
vim.opt.scrolloff = 10
vim.opt.signcolumn = "yes"
vim.opt.isfname:append('@-@')
-- Numbers on the side
vim.wo.number = true
vim.wo.relativenumber = true
vim.o.ruler = true
-- Show something in the command line not sure
vim.o.showcmd = true
vim.diagnostic.config({ virtual_text = false })
|