You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 27, 2026. It is now read-only.
I wanted to set up a scratch buffer that is toggle-able (like :ScratchPreview) and automatically focuses my cursor on the buffer when opening it. I was expecting a :ScratchToggle command, but did not find one.
Here's my current config for scratch in lazy.nvim:
I wanted to set up a scratch buffer that is toggle-able (like
:ScratchPreview) and automatically focuses my cursor on the buffer when opening it. I was expecting a:ScratchTogglecommand, but did not find one.Here's my current config for
scratchinlazy.nvim:When I want to open a scratch window, I use
<leader>sp. This opens a scratch buffer, but I have to manually move the cursor there.Any chance this could be added to the plugin?