blob: e84bacff9b5605672d043463275c0dbac5a9afba (
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
|
vim.cmd.syntax('on')
vim.cmd.filetype({'plugin', 'indent', 'on'})
vim.opt.mouse = nil
vim.opt.tabstop = 4
vim.opt.expandtab = false
vim.opt.number = true
vim.opt.shiftwidth = 4
vim.opt.autoindent = true
vim.opt.spelllang = {'en', 'de'}
vim.opt.colorcolumn = {81}
vim.opt.encoding = 'utf-8'
vim.opt.fileencodings = {'utf-8'}
vim.opt.list = true
vim.opt.listchars = {tab = '→ ', nbsp = '␣', trail = '•'}
vim.opt.spell = true
vim.keymap.set('n', '<Tab>', ':tabn <LF>')
vim.keymap.set('n', '<S-Tab>', ':tabp <LF>')
vim.keymap.set('n', '<F5>', ':%!xxd -r <LF>')
vim.keymap.set('n', '<F6>', ':%!xxd <LF>')
require'lspconfig'.clangd.setup{}
|