Orgnanize lua config
This commit is contained in:
22
vim/.vimrc
22
vim/.vimrc
@ -78,6 +78,11 @@ set omnifunc= completeopt=menuone,noinsert,noselect
|
||||
|
||||
set updatetime=100
|
||||
|
||||
lua require('impatient')
|
||||
" Enable profiling data
|
||||
" lua require'impatient'.enable_profile()
|
||||
|
||||
|
||||
call plug#begin('~/.vim/plugged')
|
||||
if filereadable(expand("~/.vimrc.local"))
|
||||
source ~/.vimrc.local
|
||||
@ -164,3 +169,20 @@ set mouse=
|
||||
|
||||
" makes sure that when opening, files are normal, i.e. not folded.
|
||||
set nofoldenable
|
||||
|
||||
" Disable built in neovim plugins to speed up
|
||||
let g:loaded_matchparen = 1
|
||||
let g:loaded_matchit = 1
|
||||
let g:loaded_logiPat = 1
|
||||
let g:loaded_rrhelper = 1
|
||||
let g:loaded_tarPlugin = 1
|
||||
" let g:loaded_man = 1
|
||||
let g:loaded_gzip = 1
|
||||
let g:loaded_zipPlugin = 1
|
||||
let g:loaded_2html_plugin = 1
|
||||
let g:loaded_shada_plugin = 1
|
||||
let g:loaded_spellfile_plugin = 1
|
||||
let g:loaded_netrw = 1
|
||||
let g:loaded_netrwPlugin = 1
|
||||
let g:loaded_tutor_mode_plugin = 1
|
||||
let g:loaded_remote_plugins = 1
|
||||
|
Reference in New Issue
Block a user