Vim plugin that allows using awesome CtrlP MRU plugin with even more amazing fzf
I love FZF fuzzy search algorithm and CtrlP Mru tracking - I'm using it
often to jump between two files (yes, I'm aware of <c-^>
). The way how
fzf-vim's :History
works was not the best solution for me that's why I
decided to create this plugin. It requires fzf.
Using vim-plug:
Plug 'junegunn/fzf'
Plug 'pbogut/fzf-mru.vim'
Using Vundle:
Plugin 'junegunn/fzf'
Plugin 'pbogut/fzf-mru.vim'
- You can run
:FZFMru
,:FZFMru [search-query]
or:FZFMru [fzf-command-options]
. - For example:
:FZFMru --prompt "Sup? " -q "notmuch"
or:FZFMru readme
- You can also map it to a shortcut with
map <leader>p :FZFMru<cr>
.
-
Move CtrlP MRU functionality to the plugin itself -
Makefzf.vim
optional dependency - Add Vim help
99% of MRU engine has been taken from CtrlP.
Always welcome.
MIT License; The software is provided "as is", without warranty of any kind.