2024-05-31 18:00:12 +02:00
|
|
|
vim.opt.autoindent = true
|
|
|
|
vim.opt.background = "dark"
|
|
|
|
vim.opt.backspace = {"indent", "eol", "start"}
|
|
|
|
vim.opt.encoding = "utf-8"
|
|
|
|
vim.opt.expandtab = true
|
|
|
|
vim.opt.hidden = true
|
|
|
|
vim.opt.hlsearch = true
|
|
|
|
vim.opt.ignorecase = true
|
|
|
|
vim.opt.incsearch = true
|
|
|
|
vim.opt.laststatus = 2
|
|
|
|
vim.opt.lbr = true
|
|
|
|
vim.opt.modelines = 0
|
|
|
|
vim.opt.mouse = "a"
|
|
|
|
vim.opt.compatible = false
|
|
|
|
vim.opt.modeline = false
|
|
|
|
vim.opt.number = true
|
|
|
|
vim.opt.numberwidth = 4
|
|
|
|
vim.opt.scrolloff = 5
|
|
|
|
vim.opt.shiftwidth = 4
|
|
|
|
vim.opt.sidescrolloff = 10
|
|
|
|
vim.opt.smartcase = true
|
|
|
|
vim.opt.softtabstop = 4
|
|
|
|
vim.opt.splitbelow = true
|
|
|
|
vim.opt.splitright = true
|
|
|
|
vim.opt.tabstop = 4
|
|
|
|
vim.opt.ttimeoutlen = 50
|
|
|
|
vim.opt.undofile = true
|
|
|
|
vim.opt.undolevels = 1000
|
|
|
|
vim.opt.undoreload = 10000
|
|
|
|
vim.opt.wildmenu = true
|
|
|
|
vim.opt.termguicolors = true
|
|
|
|
vim.opt.wildmode = {"longest", "list"}
|
|
|
|
vim.g.mapleader = ","
|
|
|
|
vim.g.python_highlight_all = 1
|
|
|
|
vim.wo.signcolumn = "yes"
|
|
|
|
vim.wo.relativenumber = true
|
|
|
|
vim.g.rooter_patterns = {".git", "Makefile", "CMakeLists.txt", "build/", "meson.build"}
|
|
|
|
vim.g.rooter_silent_chdir = 1
|
2024-06-15 12:51:22 +02:00
|
|
|
vim.g.loaded_netrw = 1
|
|
|
|
vim.g.loaded_netrwPlugin = 1
|
2024-05-31 18:00:12 +02:00
|
|
|
vim.opt.shada = "!,'2000,f1,<50,s10,h"
|
|
|
|
vim.o.updatetime = 250
|
|
|
|
vim.opt.conceallevel = 2
|
|
|
|
vim.opt.foldmethod = "expr"
|
|
|
|
vim.opt.foldlevel = 0
|
|
|
|
vim.opt.foldexpr = "getline(v:lnum)=~'^X-ExtEditorR'?1:0"
|
2024-06-20 10:27:29 +02:00
|
|
|
vim.opt.wrap = false
|
2024-06-20 10:45:57 +02:00
|
|
|
vim.opt.textwidth = 10000
|
2024-05-31 18:00:12 +02:00
|
|
|
|
|
|
|
-- Vimtex
|
|
|
|
vim.g.tex_flavor = 'latex'
|