Have a handy scratchpad contained within a floating window and saved at .scratchpad.md
on the root of your directory. Use it for taking notes or a todo.
Packer
use 'mzguntalan/scratchpad.nvim'
require('scratchpad').setup({})
Here are the defaults
opts = {
keymap = {
toggle = '<C-S-p>',
done_undone = '<C-S-o>',
},
width = 0.5, -- 50% of screen width
height = 0.7, -- 70% of screen height
file_path = '.scratchpad.md'
}
require('scratchpad').setup()