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:
@@ -14,6 +14,10 @@ endif
|
||||
" controller
|
||||
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
|
||||
" it interferes with YankRing (paste, then hit ctrl-p)
|
||||
let g:ctrlp_map = ',t'
|
||||
|
||||
Reference in New Issue
Block a user