LeaderF : A replacement of the famous ctrlp.vim yet written in Python.
| script karma
Downloaded by 230
Comments, bugs, improvements
script versions (upload new version)
|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.
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.
:Leaderf or :Leaderf [directory] or ,f
Launch LeaderF to search files.
:LeaderfBuffer or ,b
Launch LeaderF to search buffers.
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.
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.
This plugin is released under the Vim License.
|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.
Click on the package to download.
ip used for rating: 184.108.40.206