|
@@ -3,10 +3,8 @@ vim.cmd('set shortmess+=c') --Don't pass messages to |ins-comple
|
|
vim.o.hidden=true --Required to keep multiple buffers open multiple buffers
|
|
vim.o.hidden=true --Required to keep multiple buffers open multiple buffers
|
|
vim.wo.wrap=false --Display long lines as just one line
|
|
vim.wo.wrap=false --Display long lines as just one line
|
|
vim.cmd('set whichwrap+=<,>,[,],h,l')
|
|
vim.cmd('set whichwrap+=<,>,[,],h,l')
|
|
-vim.o.encoding="utf-8" --The encoding displayed
|
|
|
|
vim.o.pumheight=10 --Makes popup menu smaller
|
|
vim.o.pumheight=10 --Makes popup menu smaller
|
|
vim.o.fileencoding="utf-8" --The encoding written to file
|
|
vim.o.fileencoding="utf-8" --The encoding written to file
|
|
-vim.o.ruler=true -- " Show the cursor position all the time
|
|
|
|
vim.o.cmdheight=2 --More space for displaying messages
|
|
vim.o.cmdheight=2 --More space for displaying messages
|
|
vim.o.mouse="a" --Enable your mouse
|
|
vim.o.mouse="a" --Enable your mouse
|
|
vim.o.splitbelow=true --Horizontal splits will automatically be below
|
|
vim.o.splitbelow=true --Horizontal splits will automatically be below
|
|
@@ -16,14 +14,10 @@ vim.o.t_Co="256" --Support 256 colors
|
|
vim.o.conceallevel=0 --So that I can see `` in markdown files
|
|
vim.o.conceallevel=0 --So that I can see `` in markdown files
|
|
vim.bo.tabstop=2 --Insert 2 spaces for a tab
|
|
vim.bo.tabstop=2 --Insert 2 spaces for a tab
|
|
vim.bo.shiftwidth=2 --Change the number of space characters inserted for indentation
|
|
vim.bo.shiftwidth=2 --Change the number of space characters inserted for indentation
|
|
-vim.o.smarttab=true --Makes tabbing smarter will realize you have 2 vs 4
|
|
|
|
vim.bo.expandtab=true --Converts tabs to spaces
|
|
vim.bo.expandtab=true --Converts tabs to spaces
|
|
vim.bo.smartindent=true --Makes indenting smart
|
|
vim.bo.smartindent=true --Makes indenting smart
|
|
-vim.o.autoindent=true --Good auto indent
|
|
|
|
-vim.o.laststatus=2 --Always display the status line
|
|
|
|
vim.wo.number = true
|
|
vim.wo.number = true
|
|
vim.wo.cursorline=true --Enable highlighting of the current line
|
|
vim.wo.cursorline=true --Enable highlighting of the current line
|
|
-vim.o.background="dark" --tell vim what the background color looks like
|
|
|
|
vim.o.showtabline=2 --Always show tabs
|
|
vim.o.showtabline=2 --Always show tabs
|
|
vim.o.showmode=false --We don't need to see things like -- INSERT -- anymore
|
|
vim.o.showmode=false --We don't need to see things like -- INSERT -- anymore
|
|
vim.o.backup=false --This is recommended by coc
|
|
vim.o.backup=false --This is recommended by coc
|
|
@@ -32,5 +26,4 @@ vim.wo.signcolumn="yes" --Always show the signcolumn, other
|
|
vim.o.updatetime=300 --Faster completion
|
|
vim.o.updatetime=300 --Faster completion
|
|
vim.o.timeoutlen=100 --By default timeoutlen is 1000 ms
|
|
vim.o.timeoutlen=100 --By default timeoutlen is 1000 ms
|
|
vim.o.clipboard="unnamedplus" --Copy paste between vim and everything else
|
|
vim.o.clipboard="unnamedplus" --Copy paste between vim and everything else
|
|
-vim.o.incsearch=true
|
|
|
|
vim.o.guifont="JetBrainsMono\\ Nerd\\ Font\\ Mono:h18"
|
|
vim.o.guifont="JetBrainsMono\\ Nerd\\ Font\\ Mono:h18"
|