| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 | ---  HELPERS  ---local cmd = vim.cmdlocal opt = vim.opt---  VIM ONLY COMMANDS  ---cmd('filetype plugin on')               -- filetype detectioncmd('let &titleold="'..TERMINAL..'"')   cmd('set inccommand=split')             -- show what you are substituting in real timecmd('set iskeyword+=-')                 -- treat dash as a separate wordcmd('set whichwrap+=<,>,[,],h,l')       -- move to next line with theses keys---  SETTINGS  ---opt.backup          = false                     -- creates a backup fileopt.clipboard       = "unnamedplus"             -- allows neovim to access the system clipboardopt.cmdheight       = 2                         -- more space in the neovim command line for displaying messagesopt.colorcolumn     = "99999"                   -- fix indentline for nowopt.completeopt     = {'menuone', 'noselect'}opt.conceallevel    = 0                         -- so that `` is visible in markdown filesopt.fileencoding    = "utf-8"                   -- the encoding written to a fileopt.guifont         = "monospace:h17"           -- the font used in graphical neovim applicationsopt.hidden          = O.hidden_files            -- required to keep multiple buffers and open multiple buffersopt.hlsearch        = O.hl_search               -- highlight all matches on previous search patternopt.ignorecase      = O.ignore_case             -- ignore case in search patternsopt.mouse           = "a"                       -- allow the mouse to be used in neovimopt.pumheight       = 10                        -- pop up menu heightopt.showmode        = false                     -- we don't need to see things like -- INSERT -- anymoreopt.showtabline     = 2                         -- always show tabsopt.smartcase       = O.smart_case              -- smart caseopt.smartindent     = true                      -- make indenting smarter againopt.splitbelow      = true                      -- force all horizontal splits to go below current windowopt.splitright      = true                      -- force all vertical splits to go to the right of current windowopt.swapfile        = false                     -- creates a swapfileopt.termguicolors   = true                      -- set term gui colors (most terminals support this)opt.timeoutlen      = O.timeoutlen              -- time to wait for a mapped sequence to complete (in milliseconds)opt.title           = true                      -- set the title of window to the value of the titlestringopt.titlestring     = "%<%F%=%l/%L - nvim"      -- what the title of the window will be set toopt.undodir         = CACHE_PATH .. '/undo'     -- set an undo directoryopt.undofile        = true                      -- enable persisten undoopt.updatetime      = 300                       -- faster completionopt.writebackup     = false                     -- if a file is being edited by another program (or was written to file while editing with another program), it is not allowed to be editedopt.expandtab       = true                      -- convert tabs to spacesopt.shiftwidth      = 4                         -- the number of spaces inserted for each indentationopt.shortmess:append("c")                       -- don't pass messages to |ins-completion-menu|opt.tabstop         = 4                         -- insert 4 spaces for a tabopt.cursorline      = O.cursorline              -- highlight the current lineopt.number          = O.number                  -- set numbered linesopt.relativenumber  = O.relative_number         -- set relative numbered linesopt.signcolumn      = "yes"                     -- always show the sign column, otherwise it would shift the text each timeopt.wrap            = O.wrap_lines              -- display lines as one long line
 |