dotfiles/.config/nvim/init.lua

32 lines
761 B
Lua

require('mappings')
require('plugins')
vim.o.termguicolors = true
vim.o.number = true
vim.o.relativenumber = true
vim.o.tabstop = 4
vim.o.softtabstop = 4
vim.o.shiftwidth = 4
vim.o.expandtab = 4
vim.o.autoindent = true
vim.o.showmatch = true -- show matching brackets
vim.o.laststatus = 2 -- always show status line
vim.o.timeout = false
vim.o.hlsearch = false
vim.o.incsearch = true
vim.o.ignorecase = true -- ignore letter case when searching
vim.o.smartcase = true -- case insentive unless capitals used in search
vim.o.colorcolumn = "80"
vim.o.cursorline = true
vim.o.scrolloff = 8
vim.o.splitbelow = true -- when splitting horizontally, move coursor to lower pane
vim.o.splitright = true -- when splitting vertically, mnove coursor to right pane