scratch.vim
scratch.vim copied to clipboard
Unobtrusive scratch window
Default is starting in insert mode.
Hi, I clearly must be doing something wrong, or I don't understand how persistence is supposed to work. Given this vimrc: ``` set runtimepath^=~/.vim/plugged/scratch.vim set nocompatible filetype plugin indent on...
See https://github.com/mtth/scratch.vim/compare/master...chumakd:master (`chumakd/scratch.vim` appears to be most comprehensive right now) In particular, `mtth/scratch.vim` still seems to have the `Winleave` vs Win**L**eave bug (https://github.com/chumakd/scratch.vim/commit/1609acd2e5bd6c3a2a05a4d21217de452f46cae5) and the `:bdelete` bug (https://github.com/chumakd/scratch.vim/commit/c87fe72bd2542182c810cb729b17d6618a278928).
Especially when using `:ScratchPreview` and keeping it open with just a few lines in the buffer I was annoyed by the wasted space. The PR enables dynamic window resizing to...
Curious your thoughts on this idea: The ability to save to the scratchpad without ever showing the window. It could just automatically append to the end, sort of like how...
Having the scratch window as a side (or top) drawer is confusing. I would much rather have the scratch buffer open in whatever window I was currently working, and when...
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,...