sponsor Vim development Vim logo Vim Book Ad

LeaderF : A replacement of the famous ctrlp.vim yet written in Python.

 script karma  Rating 18/7, Downloaded by 108    Comments, bugs, improvements  Vim wiki

created by
Yggdroot Chen
 
script type
utility
 
description
This plugin is mainly used for searching files, buffers, mrus in large project.
    Written in Python.
    Support for fuzzy and regex searching.
    Manage buffers and mrus.
    Open multiple files at once.
    Extensible.

Screenshots:
http://imageshack.com/a/img802/1026/iei.gif
http://imageshack.com/a/img809/2369/mnu.gif

Requirements:
    vim7.0 or higher.
    vim compiled with Python support, you can check by using echo has('python') or echo has('python3') to see if the result is 1.

Usage:
    :Leaderf or :Leaderf [directory] or ,f
    Launch LeaderF to search files.

    :LeaderfBuffer or ,b
    Launch LeaderF to search buffers.

    :LeaderfMru
    Launch LeaderF to search Mru.

    Once LeaderF is launched:

    <C-C> : quit from LeaderF.
    <C-R> : switch between fuzzy search mode and regex mode.
    <C-F> : switch between full path search mode and name only search mode.
    <ESC> : switch to normal mode.
    <C-V> : paste from clipboard.
    <C-U> : remove all characters between the cursor position and the beginning of the line.
    <C-J>, <Down>, <C-K>, <Up> : navigate the result list.
    <2-LeftMouse> or <CR> : open the file under cursor or selected(when multiple files are selected).
    <C-X> : open in horizontally split window.
    <C-]> : open in vertical split window.
    <C-T> : open in new tabpage.
    <F5> : refresh the cache.
    <C-LeftMouse> or <C-Z> : select multiple files.

Related works:
    ctrlp is a great plugin. Some ideas of my plugin come from it.

Advantages over ctrlp:
    The only advantage over ctrlp is performance. If you are smart enough, perhaps you can find more.

License:
    This plugin is released under the Vim License.

Github:
    https://github.com/Yggdroot/LeaderF
 
install details
To install this plugin just put the plugin files in your ~/.vim (Linux) or ~/vimfiles (Windows).
For Vundle user, just add Bundle 'Yggdroot/LeaderF' to your .vimrc.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
LeaderF.zip 1.0.3 2014-03-28 7.0 Yggdroot Chen fix a bug
ip used for rating: 54.166.128.254

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo