Created
May 9, 2012 09:36
-
-
Save naxoc/2643340 to your computer and use it in GitHub Desktop.
CtrlP config for vim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" I like it better when the filename is used for the search. Toggle this with | |
" <c-d> | |
let g:ctrlp_by_filename = 1 | |
" Map the buffer switcher. | |
map <leader>b :CtrlPBuffer<cr> | |
" Map the recent files. | |
map <leader>r :CtrlPMRUFiles<cr> | |
" Map find-tag-in-buffer. | |
map <leader>t :CtrlPBufTag<cr> | |
" Map find-tag-in-all-buffers. | |
map <leader>ta :CtrlPBufTagAll<cr> | |
" Enable these extensions. Cycle through them with ctrl-f and ctrl-b when the | |
" CtrlP window is open. | |
let g:ctrlp_extensions = ['tag', 'buffertag'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment