Skip to content

radenling/ctrlp-py-matcher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

ctrlp-py-matcher

Fast CtrlP matcher based on python

Performance difference is up to x22, look those profiling log:

Default matcher:

FUNCTIONS SORTED ON SELF TIME
count  total (s)   self (s)  function
    3  17.768008  17.610161  <SNR>102_MatchIt()

With Py Matcher:

FUNCTIONS SORTED ON SELF TIME
count  total (s)   self (s)  function
    3              0.730215  pymatcher#PyMatch()

To install this plugin you need Vim compiled with +python flag and version 7.4+ (because of vim.bindeval like python functions. It can be rewriten via your pull request, to support vim < 7.3):

vim --version | grep python

If you still have performance issues, it can be caused by bufferline or another one plugin. So if it caused by bufferline you can switch to airline and setup this option:

let g:airline#extensions#tabline#enabled = 1

Full documentation is available here

githalytics.com alpha

About

Fast vim CtrlP matcher based on python

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 73.8%
  • Vim Script 26.2%