diff options
| author | Matthew White <mehw.is.me@inventati.org> | 2021-06-24 18:03:32 +0000 |
|---|---|---|
| committer | Matthew White <mehw.is.me@inventati.org> | 2021-10-21 01:27:37 +0200 |
| commit | a6d5feb11625aed9eb171727da7ff4c89ed89f22 (patch) | |
| tree | 739e27c098e6d0a1120fa897da10b4745be01fa2 /CHANGELOG.md | |
| parent | b5202b1a163e931708346ed898012736b9c4e675 (diff) | |
persp-switch-to-scratch-buffer: switch to the scratch buffer
Utility function to switch to the current perspective's scratch
buffer, or to create one if it does not exist yet. Add binding
"C-x x B" to call 'persp-switch-to-scratch-buffer'.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index cb36d36..7d59408 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,6 +43,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Added +- `persp-switch-to-scratch-buffer`: interactive function to switch to the current perspective's scratch buffer, creating one if missing. - `persp-get-scratch-buffer`: utility function to properly get/create a scratch buffer. - `persp-forget-buffer`: disassociate buffer with perspective without the risk of killing it. This balances `persp-add-buffer`. Newly created buffers via `get-buffer-create` are rogue buffers not found in any perspective, this function allows to get back to that state. - `persp-maybe-kill-buffer`: designed as `kill-buffer-query-functions` hook to keep a perspective's last left buffer from being killed. @@ -52,6 +53,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Changed +- `perspective-map`: Add binding `C-x x B` to call `persp-switch-to-scratch-buffer`. - `persp-other-buffer`: call `persp-get-scratch-buffer` to get/create a scratch buffer. - `persp-new`: call `persp-get-scratch-buffer` to get/create a scratch buffer. - `persp-switch`: remove duplicated code. It's now possible to call `persp-new` either to get an existing perspective or to create a new one. |
