/fzf-mru.vim

Vim plugin that allows using awesome CtrlP MRU plugin with even more amazing FZF

Primary LanguageVim scriptMIT LicenseMIT

FZF ❤️ MRU

Project Status: Active - The project has reached a stable, usable state and is being actively developed.

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.

Instalation

Using vim-plug:

Plug 'junegunn/fzf'

Plug 'pbogut/fzf-mru.vim'

Using Vundle:

Plugin 'junegunn/fzf'

Plugin 'pbogut/fzf-mru.vim'

Basic Usage

  • 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>.

Todo

  • Move CtrlP MRU functionality to the plugin itself
  • Make fzf.vim optional dependency
  • Add Vim help

Credits

99% of MRU engine has been taken from CtrlP.

Contribution

Always welcome.

License

MIT License; The software is provided "as is", without warranty of any kind.