dotfiles/.config/nvim/init.lua

36 lines
816 B
Lua

require('plugins')
require('mappings')
vim.o.termguicolors = true
vim.o.nu = true
vim.o.relativenumber = true
vim.o.tabstop = 4
vim.o.softtabstop = 4
vim.o.shiftwidth = 4
vim.o.expandtab = 4
vim.o.smartindent = true
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.clipboard = "unnamedplus"
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