-- general configuration vim.opt.background = 'dark' -- the theme background is dark vim.opt.termguicolors = true vim.opt.cursorline = true -- highlight the line with the cursor vim.opt.wrap = false -- do not wrap long lines vim.opt.foldmethod = 'marker' -- when folding, use the marker vim.opt.laststatus = 3 -- always show the status line, but only one, even with splits vim.opt.showtabline = 2 -- always show the tab bar vim.opt.scrolloff = 2 -- number of lines to always have around cursor vim.opt.splitright = true -- vertical splits open on the right vim.opt.splitbelow = true -- horizontal splits open on the bottom vim.g.mapleader = ' ' -- space is the leader character -- commands that don't exist in lua yet vim.g.tokyonight_enable_italic = 1 -- vim.g.tokyonight_transparent_background = 1 vim.cmd [[ color tokyonight ]] -- Keybind: use '-' to open the file explorer vim.api.nvim_set_keymap('n', '-', ':Ex', { noremap=true, silent=true }) -- Don't show signs on diagnostics vim.diagnostic.config({signs = false}) -- My plugins and their configuration require('plugins')