minimal scratchpad for vimwiki
Go to file
2021-07-13 12:31:22 -04:00
assets add local p5.min.js and link it 2021-07-13 12:09:37 -04:00
index.html add local p5.min.js and link it 2021-07-13 12:09:37 -04:00
README.md update README.md 2021-07-13 12:31:22 -04:00
screenshot.jpg add screenshot.jpg 2021-07-13 12:09:55 -04:00
sketch.js initial commit 2021-07-13 11:46:28 -04:00

vwscratchpad

A minimal scratchpad to launch and run from Neovim (or Vim), originally made to extend my Vimwiki wiki. For those moments when you are writing in Vim/Nvim and you really do need to just add a sketch. After launching you can right click -> save or use the screenshot tool. If you too are using vimwiki you'll have to manually add a markdown image link to your screenshot/saved canvas.

I've tried to make the 'software' as it is as minimal as possible. Hopefully I won't extend it with additional features :D That said, issues or PRs are welcome.

screenshot

Run it from Neovim / Vim

:Scratchpad

Note the capital S since this is a user-defined custom command.

Install

To install, add the path to the index file in this repo to ~/.config/nvim/init.vim for Neovim, or to ~/.vimrc for Vim.

" my vwscratchpad launcher
:command Scratchpad silent !open ~/Software/vwscratchpad/index.html