This is my latest plugin configuration for writing code. It's based on vimplug for managing plugins.
The previous version was based on gitsubmodules and pathogen which made the process of trying plugins a
little convoluted. The .vimrc
file has code that downloads vimplug and installs all the plugins when vim
is opened for the first time.
Rename the folder vimplugins
to .vim
and create a symbolic link to .vimrc
which is located inside vimplugins
.
Add new entries in the vimrc file and run :PlugInstall
Refer to [vimplug] (https://github.com/junegunn/vim-plug)
Run the following command sequence:
:profile start profile.log
:profile func *
:profile file *
" At this point do slow actions
:profile pause
:noautocmd qall!
Go to the bottom of the file profile.log
and read the summary.
Simply run:
vim --cmd 'profile start profile.log' \
--cmd 'profile func *' \
--cmd 'profile file *' \
-c 'profdel func *' \
-c 'profdel file *' \
-c 'qa!'
Go to the bottom of the file profile.log
and read the summary.