vim.o.mouse = 'a' vim.o.encoding = 'UTF-8' vim.o.fileencoding = 'UTF-8' vim.o.number = true vim.o.relativenumber = true vim.o.showcmd = true vim.o.syntax = true vim.o.ignorecase = true vim.o.smartcase = true vim.o.cursorline = true -- bold line number at cursor vim.cmd [[ highlight CursorLineNr cterm=bold ]] vim.o.linebreak = true -- special characters vim.o.list = true vim.o.listchars = 'tab:→ ,eol:↲,nbsp:␣,trail:•,extends:⟩,precedes:⟨' vim.o.tabstop = 4 vim.o.shiftwidth = 4 vim.o.expandtab = false vim.o.smartindent = true -- spellcheck (enable with `set spell`) vim.o.spelllang = 'cs,en_gb' vim.cmd [[ hi SpellBad cterm=bold ctermbg=red ctermfg=white ]] -- cursor padding from top and bottom vim.o.scrolloff = 5 -- better navigation in split windows vim.keymap.set('n', '', 'h') vim.keymap.set('n', '', 'j') vim.keymap.set('n', '', 'k') vim.keymap.set('n', '', 'l') -- colorscheme vim.cmd [[ color base16-default-dark ]]