| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 | vim.cmd('set iskeyword+=-') -- treat dash separated words as a word text object"vim.cmd('set shortmess+=c') -- Don't pass messages to |ins-completion-menu|.vim.cmd('set inccommand=split') -- Make substitution work in realtimevim.o.hidden = O.hidden_files -- Required to keep multiple buffers open multiple buffersvim.o.title = trueTERMINAL = vim.fn.expand('$TERMINAL')vim.cmd('let &titleold="'..TERMINAL..'"')vim.o.titlestring="%<%F%=%l/%L - nvim"vim.wo.wrap = O.wrap_lines -- Display long lines as just one linevim.cmd('set whichwrap+=<,>,[,],h,l') -- move to next line with theses keysvim.cmd('syntax on') -- syntax highlightingvim.o.pumheight = 10 -- Makes popup menu smallervim.o.fileencoding = "utf-8" -- The encoding written to filevim.o.cmdheight = 2 -- More space for displaying messagesvim.cmd('set colorcolumn=99999') -- fix indentline for nowvim.o.mouse = "a" -- Enable your mousevim.o.splitbelow = true -- Horizontal splits will automatically be belowvim.o.termguicolors = true -- set term gui colors most terminals support thisvim.o.splitright = true -- Vertical splits will automatically be to the rightvim.o.t_Co = "256" -- Support 256 colorsvim.o.conceallevel = 0 -- So that I can see `` in markdown filesvim.cmd('set ts=4') -- Insert 2 spaces for a tabvim.cmd('set sw=4') -- Change the number of space characters inserted for indentationvim.cmd('set expandtab') -- Converts tabs to spacesvim.bo.smartindent = true -- Makes indenting smartvim.wo.number = O.number -- set numbered linesvim.wo.relativenumber = O.relative_number -- set relative numbervim.wo.cursorline = true -- Enable highlighting of the current linevim.o.showtabline = 2 -- Always show tabsvim.o.showmode = false -- We don't need to see things like -- INSERT -- anymorevim.o.backup = false -- This is recommended by cocvim.o.writebackup = false -- This is recommended by cocvim.wo.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shift the text each timevim.o.updatetime = 300 -- Faster completionvim.o.timeoutlen = O.timeoutlen -- By default timeoutlen is 1000 msvim.o.clipboard = "unnamedplus" -- Copy paste between vim and everything elsevim.g.nvim_tree_disable_netrw = O.nvim_tree_disable_netrw -- enable netrw for remote gx gf support (must be set before plugin's packadd)vim.g.loaded_netrwPlugin = 1 -- needed for netrw gx command to open remote links in browservim.cmd('filetype plugin on') -- filetype detection-- vim.o.guifont = "JetBrainsMono\\ Nerd\\ Font\\ Mono:h18"-- vim.o.guifont = "Hack\\ Nerd\\ Font\\ Mono"-- vim.o.guifont = "SauceCodePro Nerd Font:h17"vim.o.guifont = "FiraCode Nerd Font:h17"-- vim.o.guifont = "JetBrains\\ Mono\\ Regular\\ Nerd\\ Font\\ Complete"
 |