Setting ctrlp search defaults
Using Vim it's important to have a way to quickly search for files by name. The excellent ctrlp plugin offers this by pressing CTRL-D
(filename search) and CTRL-R
(regex search) before you start typing.
If you always tend to use these settings then you can adjust your .vimrc
with the following settings so ctrlp uses them by default:
let g:ctrlp_by_filename = 1
let g:ctrlp_regexp = 1
Written by Ciarán Archer
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Related Tags
#vim
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#