2022-08-20 16:36:33 +02:00
|
|
|
|
vim.opt.termguicolors = true
|
|
|
|
|
vim.opt.clipboard = 'unnamed,unnamedplus'
|
|
|
|
|
vim.opt.timeoutlen = 300
|
|
|
|
|
vim.opt.mouse = 'a'
|
|
|
|
|
vim.opt.listchars = 'tab:▸ ,extends:❯,precedes:❮'
|
|
|
|
|
|
2023-04-23 18:55:30 +02:00
|
|
|
|
vim.opt.swapfile = false
|
|
|
|
|
vim.opt.backup = false
|
|
|
|
|
vim.opt.undodir = vim.fn.expand('~/.cache/vim/undo')
|
|
|
|
|
vim.opt.undofile = true
|
|
|
|
|
|
2022-10-12 16:21:27 +02:00
|
|
|
|
vim.opt.number = true
|
2022-08-20 16:36:33 +02:00
|
|
|
|
vim.opt.relativenumber = true
|
|
|
|
|
vim.opt.list = true
|
|
|
|
|
|
2023-04-23 18:55:30 +02:00
|
|
|
|
vim.opt.wrap = false
|
|
|
|
|
|
|
|
|
|
vim.opt.scrolloff = 8
|
|
|
|
|
|
2022-08-20 16:36:33 +02:00
|
|
|
|
vim.opt.autoindent = true
|
|
|
|
|
vim.opt.expandtab = true
|
|
|
|
|
vim.opt.softtabstop = 4
|
|
|
|
|
vim.opt.shiftwidth = 4
|
|
|
|
|
vim.opt.tabstop = 4
|
|
|
|
|
vim.opt.smartindent = true
|
|
|
|
|
vim.opt.modeline = true
|
|
|
|
|
|
2022-10-16 22:41:38 +02:00
|
|
|
|
vim.opt.spell = true
|
|
|
|
|
|
2022-08-20 16:36:33 +02:00
|
|
|
|
vim.g.mapleader = ' '
|
|
|
|
|
|
2023-04-23 18:55:30 +02:00
|
|
|
|
vim.opt.hlsearch = false
|
|
|
|
|
vim.opt.incsearch = true
|
|
|
|
|
vim.opt.signcolumn = 'yes'
|
|
|
|
|
|
|
|
|
|
vim.opt.updatetime = 50
|
2022-10-11 16:36:39 +02:00
|
|
|
|
vim.opt.completeopt = {'menuone', 'noselect', 'noinsert'}
|
|
|
|
|
vim.opt.shortmess = vim.opt.shortmess + { c = true}
|
|
|
|
|
|
2022-08-20 16:36:33 +02:00
|
|
|
|
-- Load plugins
|
|
|
|
|
require('kalle.plugins')
|
|
|
|
|
|
2023-04-23 18:55:30 +02:00
|
|
|
|
vim.cmd.colorscheme('carbonfox')
|
2022-08-20 16:36:33 +02:00
|
|
|
|
|
|
|
|
|
-- TODO:
|
2022-10-16 22:41:38 +02:00
|
|
|
|
-- - Debugger integration (gdb?, java?/kotlin?, rust?, etc) - nvim-dap and friends
|