my neovim configuration
1-- set termguicolors 2vim.opt.termguicolors = true 3 4-- search options 5vim.opt.smartcase = true 6vim.opt.ignorecase = true 7vim.opt.hlsearch = true 8vim.opt.incsearch = true 9 10-- evil mouse 11vim.opt.mouse = 'a' 12 13-- better indentations 14vim.opt.autoindent = true 15vim.opt.smartindent = true 16vim.opt.breakindent = true 17 18-- tab defaults 19vim.opt.expandtab = true 20vim.opt.shiftwidth = 2 21vim.opt.softtabstop = 2 22vim.opt.tabstop = 2 23 24-- use undofile not swap/backup 25vim.opt.undofile = true 26vim.opt.swapfile = false 27vim.opt.backup = false 28vim.opt.writebackup = false 29 30-- use system clipboard 31vim.opt.clipboard = "unnamedplus" 32 33-- use more space for cmd 34vim.opt.cmdheight = 2 35 36-- cmp options 37vim.opt.completeopt = { "menuone", "noselect" } 38 39-- makes `` be visible in markdown files 40vim.opt.conceallevel = 0 41 42-- set file encoding 43vim.opt.fileencoding = "utf-8" 44 45-- don't show mode 46vim.opt.showmode = false 47 48-- always show tabs 49vim.opt.showtabline = 2 50 51-- chose split directions 52vim.opt.splitbelow = true 53vim.opt.splitright = true 54 55-- less fast timeout 56vim.opt.timeoutlen = 1000 57 58-- faster updates 59vim.opt.updatetime = 300 60 61-- numbered lines 62vim.opt.number = true 63vim.opt.relativenumber = true 64vim.opt.numberwidth = 2 65 66-- sign column 67vim.opt.signcolumn = "yes" 68 69-- no wrapping 70vim.opt.wrap = false 71 72-- make scrolling more better 73vim.opt.scrolloff = 8 74vim.opt.sidescrolloff = 8