Deleting buffer without losing the split window

Sanel Zukan sanelz at gmail.com
Sun Mar 10 22:27:44 CET 2013


Thank you guys for replies: didn't know C-x k will keep window layout.

Frank Fischer wrote:
> Maybe we could add another parameter that determines whether the
> windows should be closed and defaults to some customization
> option.

+1

Although this could start deviating from Vim's features (I'm not sure
does vim provide similar option) it will make life easier for
sure. Aside from that, solution like:

 (evil-ex-define-cmd "bdp" 'kill-buffer)

is perfectly acceptable for me too ;)

Christoph LANGE wrote:
> The pipe is somewhat misleading; here's what the vim help says:
>
>--- %< --- %< --- %< --- %< --- %< --- %< --- %< --- %< --- %< --- %<
> '|' can be used to separate commands, so you can give multiple commands
> in one
> line.  If you want to use '|' in an argument, precede it with '\'.
>--- %< --- %< --- %< --- %< --- %< --- %< --- %< --- %< --- %< --- %<

Ahh, thanks for the tip!

Regards, Sanel




More information about the implementations-list mailing list