-- Always open QF window at the bottom -- vim.cmd[[wincmd J]] -- Quit vim if the last window is qf vim.cmd [[autocmd! BufEnter if winnr('$') < 2| q | endif]] vim.wo.scrolloff = 0 vim.wo.wrap = false vim.wo.number = true vim.wo.relativenumber = false vim.wo.linebreak = true vim.wo.list = false vim.wo.cursorline = true vim.wo.spell = false vim.bo.buflisted = false vim.keymap.set("n", "[-", ":colder", { buffer = true }) vim.keymap.set("n", "]+", ":cnewer", { buffer = true })