Combine doom/open-scratch-buffer & doom/open-project-scratch-buffer

These two are now doom/open-scratch-buffer. If you're in a project,
a (persistent) scratch buffer is opened. Otherwise, a non-persistent,
transient scratch buffer is opened.

If ARG (universal argument) is non-nil, then use the current window
instead of a new window (or popup, if feature/popup is enabled).

Also, the ex command :x[!] is improved. The BANG = open in current
window.
This commit is contained in:
Henrik Lissner 2018-02-02 19:10:43 -05:00
parent d0fa95f9a0
commit bbb969fa59
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 32 additions and 25 deletions