A Zellij plugin that spawns a floating notepad pane using your $EDITOR.
- Opens a timestamped markdown file in your
$EDITOR - Floating pane pinned by default (stays visible when switching focus)
- Toggle behavior (no duplicate panes)
- Notes saved to
~/.config/zellij/notes/
curl -L https://github.com/0xble/zellij-notepad/releases/latest/download/notepad.wasm \
-o ~/.config/zellij/plugins/notepad.wasmgit clone https://github.com/0xble/zellij-notepad
cd zellij-notepad
cargo build --release
cp target/wasm32-wasip1/release/notepad.wasm ~/.config/zellij/plugins/Add the plugin to load_plugins in your Zellij config:
load_plugins {
"file:~/.config/zellij/plugins/notepad.wasm"
}Add a keybinding in the shared_except "locked" block:
bind "Alt i" {
MessagePlugin "notepad" {
name "toggle"
}
}The plugin uses zellij's scrollback_editor setting, which defaults to $EDITOR.
To use a different editor specifically for zellij (including this plugin):
scrollback_editor "/path/to/your/editor"Or set your $EDITOR environment variable globally.
The plugin requests:
OpenFiles- open note file in editorChangeApplicationState- focus notepad paneReadApplicationState- track notepad pane lifecycle
- Press
Alt+ito open or focus the notepad - Close the notepad normally (e.g.,
:qin vim), thenAlt+ispawns a fresh one
zellij pipe notepad "toggle"- Zellij 0.43+
- An
$EDITORset (vim, nvim, etc.)
MIT