top | item 10316710

(no title)

DoggettCK | 10 years ago

Opening a new buffer. Figured I'd try :new, and wound up getting good at splits. Still don't know how to just open up a new, blank buffer in the window I'm in without specifying a filename to :e.

discuss

order

mangamadaiyan|10 years ago

If you don't mind getting your hands dirty with a little vimscript, you can set the buftype to nofile, and open a "scratch buffer" of sorts.

snorge|10 years ago

:enew

mangamadaiyan|10 years ago

Thanks :) I'd completely forgotten about enew.

DoggettCK|10 years ago

Just what I needed. Thanks!