vim.cmd("let g:netrw_liststyle = 3") local opt = { -- Numbering relativenumber = true, number = true, -- tabs & indentation tabstop = 2, -- a tab is 2 spaces width shiftwidth = 2, -- 2 spaces to indent expandtab = true, -- transform tab to space. Use to insert tab. autoindent = true, -- copy indent from current line when starting new one -- Long line management. wrap = true, -- search ignorecase = true, -- ignore case when typing but ⤵ smartcase = true, -- mixed case in search imply case-sensitive search cursorline = true, -- turn on termguicolor for colorscheme to work termguicolors = true, -- background = "dark", signcolumn = "yes:1", -- TODO: Try number ! -- split behavior splitright = true, splitbelow = true, -- Use the system clipboard using external program like xsel clipboard = "unnamedplus", -- I fucking don't know backspace = "indent,eol,start", } for k, v in pairs(opt) do vim.opt[k] = v end