Re: :bd should NOT close the Window

2006-05-13 Thread Benji Fisher
On Fri, May 12, 2006 at 03:02:54PM -0400, Alan G Isaac wrote: On Fri, 12 May 2006, Salman Khilji apparently wrote: When you have a window split, issuing a :bd command closes the buffer AND one panes of the split window as well. Just leave it open. To edit newfile.txt in it :e

:bd should NOT close the Window

2006-05-12 Thread Salman Khilji
When you have a window split, issuing a :bd command closes the buffer AND one panes of the split window as well. I like to have my maximized window split vertically in 2 panes all the time and would NOT want the :bd command to close any of the panes. Can it be done?

Re: :bd should NOT close the Window

2006-05-12 Thread Yakov Lerner
On 5/12/06, Salman Khilji [EMAIL PROTECTED] wrote: When you have a window split, issuing a :bd command closes the buffer AND one panes of the split window as well. I like to have my maximized window split vertically in 2 panes all the time and would NOT want the :bd command to close any of the

Re: :bd should NOT close the Window

2006-05-12 Thread Alan G Isaac
On Fri, 12 May 2006, Salman Khilji apparently wrote: When you have a window split, issuing a :bd command closes the buffer AND one panes of the split window as well. Just leave it open. To edit newfile.txt in it :e newfile.txt To then immediately get rid of oldfile.txt :bd# hth, Alan

Re: :bd should NOT close the Window

2006-05-12 Thread mzyzik
You can try my short script which does exactly what you want: http://www.vim.org/tips/tip.php?tip_id=1078 --Matt On Fri, May 12, 2006 at 08:38:24PM +0300, Yakov Lerner wrote: On 5/12/06, Salman Khilji [EMAIL PROTECTED] wrote: When you have a window split, issuing a :bd command closes the