Skip to content
interslice-systemsPublic

About

A scratchpad of plain Markdown files in your own Neovim: five notes, an archive, calc blocks and Unix text filters. Omarchy launcher included.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

Jot

A scratchpad of plain Markdown files, living in your own Neovim: five numbered notes to park text in, an archive of everything you've put away, a small calculator in ```calc blocks, and Unix text filters. On Omarchy, SUPER+N floats it over whatever you're doing, on whichever workspace you're on.

What a calc block looks like on screen (the ⇒ answers are drawn by Neovim, not stored in the file):

It inherits from Tot, Soulver, BBEdit's text filters, Mac OS X Services and Notational Velocity. Sync is left to whatever syncs your folder (Dropbox, Syncthing…). Jot has no server, no account and no transport of its own.

rent = 500
yearly(x) = x * 12
yearly(rent)            ⇒ 6000
ans * 0.85              ⇒ 5100

Install

Neovim 0.12+. With LazyVim, ~/.config/nvim/lua/plugins/jot.lua:

return { "interslice-systems/jot", opts = {} }   -- notes live in ~/Dropbox/Jot

On Omarchy, add the SUPER+N launcher:

git clone https://github.com/interslice-systems/jot ~/.local/share/jot
~/.local/share/jot/install        # prints the bind and window rule to paste

Then, inside any note, <Space>jh (or :help jot) is the manual.

Keys (in note files only)

Key Does
<Space>1…5 open note 1–5
<Space>js search notes and archive
<Space>ja archive this note and empty it
<Space>jf run a filter on the selection or paragraph
<Space>jc / <Space>jb insert a calc block / bake answers into the text
<Space>jp preview in the browser
<Space>jh help

Filters are executables that read stdin and write stdout. Drop your own in ~/.config/jot/filters/.

Develop

nvim -l tests/run.lua          # whole suite
nvim -l tests/run.lua calc     # just files matching "calc"

License

MIT. vendor/marked.umd.js is MIT too; see vendor/README.md.

About

A scratchpad of plain Markdown files in your own Neovim: five notes, an archive, calc blocks and Unix text filters. Omarchy launcher included.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages