vim.opt.mouse = "" vim.opt.wildmode = "longest,list" vim.opt.list = true vim.opt.listchars = "tab:>-,trail:-,extends:#,nbsp:-" vim.opt.ignorecase = true -- case insensitive search vim.opt.smartcase = true -- case sensitive when uc present vim.opt.modeline = true -- Search files for local settings such as nowrap vim.opt.laststatus = 2 -- Always show the status line at the bottom of the window vim.opt.colorcolumn = "80" vim.api.nvim_set_hl(0, "ColorColumn", { ctermbg = 232, bg = 232 }) vim.opt.clipboard = "unnamedplus" vim.wo.relativenumber = true vim.g.mapleader = ";" -- Get rid of highlighting with enter vim.keymap.set("n", "", "noh") -- Leader Bindings vim.g.mapleader = ";" vim.keymap.set('n', 'tc', 'tabnew') vim.keymap.set('n', 'tn', 'tabnext') vim.keymap.set('n', 'tp', 'tabprevious') vim.keymap.set('n', 'tN', 'tabprevious') vim.keymap.set('n', 'z', '|_') vim.keymap.set('n', '', '=') vim.keymap.set('n', 'h', 'h') vim.keymap.set('n', 'j', 'j') vim.keymap.set('n', 'k', 'k') vim.keymap.set('n', 'l', 'l') vim.diagnostic.config({ virtual_text = { prefix = '>>', -- or any symbol you prefer spacing = 1, -- position diagnostics at end of line: virt_text_pos = "eol", }, signs = true, underline = true, update_in_insert = false, severity_sort = true, }) require("bootstrap") -- Bootstrap lazy.nvim and load all plugins require("whitespace") -- Adds autocmd to remove whitespace require("jk") -- Adds jk escape