Y
Hacker News
new
|
ask
|
show
|
jobs
by
DoggettCK
3910 days 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.
2 comments
mangamadaiyan
3910 days 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.
link
snorge
3910 days ago
:enew
link
mangamadaiyan
3910 days ago
Thanks :) I'd completely forgotten about enew.
link
DoggettCK
3909 days ago
Just what I needed. Thanks!
link