Skip to content

franciscomunoz/vimplugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Introduction

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.

Configuration

Rename the folder vimplugins to .vim and create a symbolic link to .vimrc which is located inside vimplugins.

Testing new plugins via vimplug

Add new entries in the vimrc file and run :PlugInstall

Refer to [vimplug] (https://github.com/junegunn/vim-plug)

Profiling which plugins are making vim slow

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.

Profile startup time

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.

About

plugins for vim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published