How to install ctrlp fuzzy finder for vim

How to install ctrlp fuzzy finder for vim

  • by Tyler (231)
  • Time to complete: 3 minutes

Using a fuzzy finder for vim is life changing. I've used two different fuzzy finders: command T and ctrlp. There are advantages and disadvantages to both, but I prefer ctrlp simply because its easy to install. For more information on ctrlp click here. This guide should work on most versions of OS X and Linux.

1

To clone from github:


git clone https://github.com/kien/ctrlp.vim.git ~/.vim/bundle/ctrlp.vim


2

Add the following to your vimrc file:


set runtimepath^=~/.vim/bundle/ctrlp.vim


To edit vimrc type:


vim ~/.vimrc


3

To restart vim simply close the program and reopen.