Added vim-table-mode and fixed formatting

main
zoomiti 4 years ago
parent cdb1a37687
commit bb13895c3a

@ -11,11 +11,14 @@ Plug 'ap/vim-css-color'
"Surround
Plug 'tpope/vim-surround'
" For snippets
Plug 'SirVer/ultisnips'
" Latex
Plug 'lervag/vimtex'
" For snippets
Plug 'SirVer/ultisnips'
" Table mode
Plug 'dhruvasagar/vim-table-mode'
if has("nvim")
" LSP
@ -59,7 +62,7 @@ inoremap <expr> <tab> InsertTabWrapper()
inoremap <s-tab> <c-n>
" Make
set makeprg=make\ --silent\ 2>&1\ \\\|\ grep\ -E\ \"^([^:\\S]+):\\S+:.+\"
" set makeprg=make\ --silent\ 2>&1\ \\\|\ grep\ -E\ \"^([^:\\S]+):\\S+:.+\"
syntax on
@ -90,10 +93,10 @@ set shiftwidth=4
set showmatch " Show matching brackets.
"set ignorecase " Do case insensitive matching
set smartcase " Do smart case matching
"set incsearch " Incremental search
set incsearch " Incremental search
set autowrite " Automatically save before commands like :next and :make
"set hidden " Hide buffers when they are abandoned
"set mouse=a " Enable mouse usage (all modes)
set hidden " Hide buffers when they are abandoned
set mouse=a " Enable mouse usage (all modes)
set number " Enable line numbers
set relativenumber " Enable relative line numbers
@ -119,7 +122,7 @@ if has("nvim")
tnoremap <C-W><down> <C-\><C-N><C-W><down>
tnoremap <C-W><up> <C-\><C-N><C-W><up>
tnoremap <C-W><right> <C-\><C-N><C-W><right>
end
endif
" Source a global configuration file if available
if filereadable("/etc/vim/vimrc.local")
@ -185,6 +188,12 @@ lua <<EOF
-- Lean 3
lsp3 = { on_attach = on_attach },
-- What filetype should be associated with standalone Lean files?
-- Can be set to "lean3" if you prefer that default.
-- Having a leanpkg.toml or lean-toolchain file should always mean
-- autodetection works correctly.
ft = { default = "lean3" },
-- Abbreviation support
abbreviations = {
-- Set one of the following to true to enable abbreviations
@ -227,4 +236,4 @@ lua <<EOF
},
}
EOF
end
endif

Loading…