kien/ctrlp.vim — Issue #21: Ability to open buffer twice with :CtrlPBuffer
Author: pielgrzym
Created: 2011-10-22 09:15:35+00:00
State: open

Hi,

Your plugin is simply fantastic. The only thing that is a discomfort is buffer handling. I use vim tabs as split-windows layouts. That's why I often open same buffer in different tabs. Unfortunately ctrlp's buffer selector always jumps to buffer if it's visible anywhere. It would be great if this behavior was customizable - jump to buffer or (re)open buffer.

How to reproduce:
Open 2 files in a split.
Create a tab.
Go to tab.
Try to open any file from first tab with :CtrlPBuffer
Vim will jump to first tab and activate open buffer.

Now what I'd love is to select a buffer with you plugin and use c-x,c-v or c-t to reopen it again. Ideally the plugin could exclude current buffer from search this way :)