CtrlP no longer jumps you to the file if it's already open.
This makes it easier to maintain multiple Tab workspaces involving the same files. For example, in one workspace you want a class and its spec, and in another tab you want to see that class in context with another collaborator. This allows you to open the window multiple times.
This commit is contained in:
parent
499003dd72
commit
0fc83ead3b
@ -14,6 +14,10 @@ endif
|
|||||||
" controller
|
" controller
|
||||||
let g:ctrlp_by_filename = 1
|
let g:ctrlp_by_filename = 1
|
||||||
|
|
||||||
|
" Don't jump to already open window. This is annoying if you are maintaining
|
||||||
|
" several Tab workspaces and want to open two windows into the same file.
|
||||||
|
let g:ctrlp_switch_buffer = 0
|
||||||
|
|
||||||
" We don't want to use Ctrl-p as the mapping because
|
" We don't want to use Ctrl-p as the mapping because
|
||||||
" it interferes with YankRing (paste, then hit ctrl-p)
|
" it interferes with YankRing (paste, then hit ctrl-p)
|
||||||
let g:ctrlp_map = ',t'
|
let g:ctrlp_map = ',t'
|
||||||
|
Loading…
Reference in New Issue
Block a user