Sorry to say this , but non of the above worked for me. Here is how i did it with the help of vundle
1) install vundle
"read more about , it is just a package manager for vim".
2) start vim .
3) typed :PluginSearch ctrlP
After hitting enter , one plugin found
You will see this .
Keymap: i - Install plugin; c - Cleanup; s - Search; R - Reload list
"Search results for: ctrlP + Plugin 'ctrlp.vim'
Of course , proceed with the i
to install .
Make sure it is installed successfully - in vim key in .
:help ctrlP
You should see this :
*ctrlp.txt* Fuzzy file, buffer, mru, tag, ... finder. v1.79
*CtrlP* *ControlP* *'ctrlp'* *'ctrl-p'*
===============================================================================
# #
# :::::::: ::::::::::: ::::::::: ::: ::::::::: #
# :+: :+: :+: :+: :+: :+: :+: :+: #
# +:+ +:+ +:+ +:+ +:+ +:+ +:+ #
# +#+ +#+ +#++:++#: +#+ +#++:++#+ #
# +#+ +#+ +#+ +#+ +#+ +#+ #
# #+# #+# #+# #+# #+# #+# #+# #
# ######## ### ### ### ########## ### #
# #
===============================================================================
CONTENTS *ctrlp-contents*
EDIT:
You will also need to add it to your vimrc
za:~ za$ vim ~/.vimrc
#add this to your vimrc file
Plugin 'ctrlp.vim'
Start vim , and from the command type:
:PluginList
you will a list installed plugins
" My Plugins |
Plugin 'VundleVim/Vundle.vim' |~
Plugin 'tpope/vim-fugitive' |~
Plugin 'git://git.wincent.com/command-t.|~
git' |~
Plugin 'rstacruz/sparkup' |~
Plugin 'ascenator/L9' |~
Plugin 'ctrlp.vim' |~
|~
~
enjoy!!